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

Allow no capabilities when performing action #134

Open
joshuadschoep opened this issue Mar 29, 2024 · 0 comments
Open

Allow no capabilities when performing action #134

joshuadschoep opened this issue Mar 29, 2024 · 0 comments

Comments

@joshuadschoep
Copy link

Hi all,

I'm hoping to be able to create and deploy stack that explicitly does not allow IAM capabilities, even unnamed roles. We'd like to be able to explicitly define those elsewhere in our CF stacks.

Leaving an empty list for the capabilities parameter:

with:
  name: Web-Frontend
  ...
  no-fail-on-empty-changeset: "1"
  capabilities: # Nothing here to explicitly disallow capabilities

throws the following error.
1 validation error detected: Value '[]' at 'capabilities' failed to satisfy constraint: Member must satisfy constraint: [Member must satisfy enum value set: [CAPABILITY_AUTO_EXPAND, CAPABILITY_NAMED_IAM, CAPABILITY_IAM]]

I'm hoping I'm going about things wrong, but if not would like to put this in as a feature request.

Thanks a ton!

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

No branches or pull requests

1 participant