개발이야기/AWS
AWS CDK 명령어 사용시 auto approve 사용하기
AndersonChoi
2021. 2. 4. 13:57
AWS CDK를 로컬에서 테스트를 하다보면 deploy시 change에 대한 y/n 선택이 나오게 된다.
....│
└───┴─────────────────────────────────────────┴─────┴────────────┴─────────────────┘
(NOTE: There may be security-related changes not in this list. See https://github.com/aws/aws-cdk/issues/1299)
Do you wish to deploy these changes (y/n)? y
이 선택을 건너뛰려면 다음 옵션을 사용하면 된다.
$ cdk deploy --all --require-approval never
cdk 명령어는 --reqire-approval 외에도 추가 옵션들이 많은데 상세한 설명은 아래 링크에서 확인할 수 있다.
docs.aws.amazon.com/cdk/latest/guide/cli.html
AWS CDK Toolkit (cdk command) - AWS Cloud Development Kit (AWS CDK)
AWS CDK Toolkit (cdk command) The AWS CDK Toolkit, the CLI command cdk, is the primary tool for interacting with your AWS CDK app. It executes your app, interrogates the application model you defined, and produces and deploys the AWS CloudFormation templat
docs.aws.amazon.com
반응형