-
-
Notifications
You must be signed in to change notification settings - Fork 93
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
sam deploy missing RegionParameter #4
Comments
Ah, whoops. I have a default region set in my AWS config, which might be why it worked on mine. Thanks for the report! |
I see the region parameter there in the deploy script: https://github.com/TimothyJones/github-cognito-openid-wrapper/blob/master/scripts/deploy.sh#L24 Am I missing somewhere else that I've missed the parameter? |
Closing because I think this is fixed, but please feel free to reopen if I missed something. |
I see what I missed now! Fixed by #10. |
running npm run deploy, there is an error when running sam deploy.
There needs be an additional parameter overide RegionParameter=$REGION, or a default set in the template.
Manually running the failed command with the region argument appears to work
(not tested yet, but the stack did run)
sam deploy --region us-west-2 --template-file /moji/github-cognito-openid-wrapper/scripts/../serverless-output.yml --stack-name xxxx --parameter-overrides GitHubClientIdParameter=xxx GitHubClientSecretParameter=xxxx CognitoRedirectUriParameter=xxxx RegionParameter=$REGION --capabilities CAPABILITY_IAM
The text was updated successfully, but these errors were encountered: