Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update use of opt to be compatible with serverless 3.x #2

Open
sblack4 opened this issue Aug 22, 2022 · 1 comment · May be fixed by benyitzhaki/parameter-store-replicator#1
Open

Comments

@sblack4
Copy link

sblack4 commented Aug 22, 2022

Serverless removed free-form CLI options. --target is a free-form CLI option. For the deprecation notice see https://www.serverless.com/framework/docs/deprecations/#UNSUPPORTED_CLI_OPTIONS

@sblack4
Copy link
Author

sblack4 commented Aug 22, 2022

This is the error

$ sls deploy --region us-east-1 --target-region us-east-2                      
Environment: darwin, node 14.20.0, framework 3.12.0, plugin 6.2.1, SDK 4.3.2
Docs:        docs.serverless.com
Support:     forum.serverless.com
Bugs:        github.com/serverless/serverless/issues

Error:
Detected unrecognized CLI options: "--target-region".

@sblack4 sblack4 linked a pull request Aug 22, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant