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
Requires capabilities : [CAPABILITY_AUTO_EXPAND] #11566
Comments
@scanianick please provide full |
I updated the original post. Thanks for the assistance! |
I too when try to run this command -> serverless deploy --config dev/serverless.yaml --stage $STAGE --region $REGION --verbose --capabilities CAPABILITY_AUTO_EXPAND , it gives me the same error, also, I tried putting it in the provider section under capabilities property but it doesn't recognises it |
I assume in this case CF stack deployment should be additionally equipped with serverless/lib/plugins/aws/lib/get-shared-stack-action-params.js Lines 23 to 43 in 8341d7a
Question is, should it be added by the Framework or used plugin automatically, or should we rather provide a back door for users to extend this list via configuration settings. @scanianick @vatsal-kavida what do you think? Why exactly this capability is required in your case? |
I think it should be a back door for users to extend this list via configuration settings. Since that is the behaviour in cloudformation that you need to add it if needed. So assume it should be the same for serverless framework. But both ways could work. |
Thanks, in light of that, we probably can introduce PR's welcome! |
Are you certain it's a bug?
Is the issue caused by a plugin?
Are you using the latest v3 release?
Is there an existing issue for this?
Issue description
When running serverless deploy an error occur stating "Requires capabilities : [CAPABILITY_AUTO_EXPAND]" but this should be default behavior is my understanding.
This is when role is specified under the resource part.
Service configuration (serverless.yml) content
Command name and used flags
sls deploy -s dev -r eu-west-1
Command output
Environment information
The text was updated successfully, but these errors were encountered: