Skip to content

Feature request: Add option to upload template file to S3 bucket #180

@scooper91

Description

@scooper91

We want to use this action to generate a changeset for a CloudFormation stack, but the template exceeds the maximum inline file limit and errors with:

Error: Template size exceeds CloudFormation limit (51,200 bytes). Consider using a template URL from S3 instead of inline template content.

When using the AWS CLI to deploy, you can specific a bucket to upload the template to, e.g.
aws cloudformation deploy --stack-name my-stack --template-file my-template.json --s3-bucket my-deployment-bucket

Would it be possible to add this functionality (and the associated options) to this action, so we don't have to upload the template file ourselves? This would align the action more with the CLI.

Whilst the option to upload the template to a bucket is only a thing for cloudformation deploy in the CLI, it would also be useful when just creating a changeset (which is what we're trying to do).

Thanks!

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