-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 requires CAPABILITY_AUTO_EXPAND for the aws-sam-cli-managed-default stack in eu-south-1 region #6243
Comments
Hi @cmogeni, thanks for raising the issue. I could reproduce the issue. Seems like "eu-south-1" is one of the regions with this error. The managed stack was created successfully in other regions like "np-northeast-1" |
Hi, added a fix for now that will be incorporated in the next SAM-CLI release, however this is quite an interesting bug due to this being a region focused issue. The team will do a deeper dive in the future to figure out the root cause of this but this error won't happen after the next release. Thanks for bring it up |
|
Hi, after digging into this, this is a bug on CloudFormation, we are in communication with them and they are working on a fix, will update this issue again when it is fixed on their side. |
Hi @cmogeni, we've just confirmed CloudFormation has deployed their fix, and our test in creating a managed stack in eu-south-1 worked. Closing the issue. Feel free to reopen if you still see the same problem. |
|
Description:
When running the SAM deploy command in the eu-south-1 region, it requires CAPABILITY_AUTO_EXPAND for the "aws-sam-cli-managed-default". Currently the SAM CLI creates this stack with the "CAPABILITY_IAM" capability but in this case it requires CAPABILITY_AUTO_EXPAND
Steps to reproduce:
The only difference with the normal flow is that the stack was "aws-sam-cli-managed-default" stack has been deleted, but it should still be possible to run "sam deploy" because that should auto-detect and recreate the stack, which it does but it runs into the capabilities issue described above
Observed result:
sam deploy --stack-name mystack --region eu-south-1 --resolve-s3 --s3-prefix redirect-lambda --parameter-overrides MyParam=param Myparam2=param2 --debug
Expected result:
It should recreate the stack "aws-sam-cli-managed-default" stack successfully
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
sam --version
: tested both 1.98.0 and 1.101.0Add --debug flag to command you are running
The text was updated successfully, but these errors were encountered: