TractorZoom / sam-cli-action

Github Action to build, package, and deploy serverless applications using the AWS SAM CLI.
18 stars 9 forks source link

There no deploy confirmation #16

Closed GABAnich closed 3 years ago

GABAnich commented 3 years ago

Describe the bug I want to deploy my changes, and I should confirm it by pressing "y". AWS SAM is waiting on input, but the input doesn't come, and changes aren't deployed.

Previewing CloudFormation changeset before deployment
======================================================
Deploy this changeset? [y/N]: 
Aborted!

Expected behavior Should be input y and changes should be deployed

cody-hoffman commented 3 years ago

@GABAnich you need to set this up in your samconfig.toml. confirm_changeset = false

https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-config.html