Skip to content

Allow no capabilities when performing actionΒ #134

@joshuadschoep

Description

@joshuadschoep

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions