localstack-extensions icon indicating copy to clipboard operation
localstack-extensions copied to clipboard

AWS Replicator: Error: No such command 'replicate'

Open well-it-wasnt-me opened this issue 1 year ago • 4 comments

Hi, just followed the guide to the T.

After installing the aws-replicator extension and i lunch the command localstack aws replicate -s sqs

i receive the following error:

Usage: localstack aws [OPTIONS] COMMAND [ARGS]...
Try 'localstack aws -h' for help.

Error: No such command 'replicate'.

And when going to check the content of available commands for aws i get only this

Usage: localstack aws [OPTIONS] COMMAND [ARGS]...

  Accesses additional functionality on LocalStack emulated AWS services.

  This command provides tools to enhance your experience with certain emulated
  AWS services.

Options:
  -h, --help  Show this message and exit.

Commands:
  iam  (Beta) Access LocalStack IAM features

I am using a trial version of the Pro, LocalStack CLI 3.4.0

localstack status output

┌─────────────────┬───────────────────────────────────────────────────────┐
│ Runtime version │ 3.4.1.dev                                             │
│ Docker image    │ tag: latest, id: 4b87860f7f42, 📆 2024-05-06T13:49:55 │
│ Runtime status  │ ✔ running (name: "localstack-main", IP: 172.17.0.2)   │
└─────────────────┴───────────────────────────────────────────────────────┘

well-it-wasnt-me avatar May 06 '24 15:05 well-it-wasnt-me

I am experiencing the exact same issue

derick1156 avatar Jun 05 '24 21:06 derick1156

@derick1156 inwrote myself a script that does this. Soon I'll publish it

well-it-wasnt-me avatar Jun 05 '24 22:06 well-it-wasnt-me

@derick1156

https://github.com/well-it-wasnt-me/Import-AWS-To-Localstack

well-it-wasnt-me avatar Jun 06 '24 22:06 well-it-wasnt-me

Thanks for reporting @well-it-wasnt-me @derick1156 , and apologies for the long delay here, this issue somehow slipped through the cracks. :/

We have made a couple of fixes to the extension in the meantime (there were some Python import errors) - when you get a chance, can you please give it another try installing it?

However, we have recently focusing mostly on the proxy mode of the extension, less so on the replicate mode (which still needs to be refactored/improved a bit in the upcoming weeks). Thanks for sharing the pointer to the external repo, we'll see if we can take some inspiration from it, to make sure the functionality is covered in this repo as well! 🙌

whummer avatar Jul 03 '24 14:07 whummer

Thanks for reporting @well-it-wasnt-me @derick1156 , and apologies for the long delay here, this issue somehow slipped through the cracks. :/

We have made a couple of fixes to the extension in the meantime (there were some Python import errors) - when you get a chance, can you please give it another try installing it?

However, we have recently focusing mostly on the proxy mode of the extension, less so on the replicate mode (which still needs to be refactored/improved a bit in the upcoming weeks). Thanks for sharing the pointer to the external repo, we'll see if we can take some inspiration from it, to make sure the functionality is covered in this repo as well! 🙌

Thanks ! and deeply sorry to come back this late... feel free to check out what i've done...it works very well actually and does what it says (replicate the infrastructure)

Perhaps you can use or re-use some of the code.

have a nice day !

Import AWS To Localstackl

well-it-wasnt-me avatar Aug 21 '24 16:08 well-it-wasnt-me