File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change 11# This script is used to deploy the CDK stack using a YAML template.
2- npx cdk synth -c environment=test CdkbasicStack > CdkbasicStack.yaml
2+ npx cdk synth --no-notices --quiet - c environment=test CdkbasicStack > CdkbasicStack.yaml
33
44# Add a dummy resource to the template to force a change in the stack
55awk '
1515' CdkbasicStack.yaml > template.patched.yaml && mv template.patched.yaml CdkbasicStack.yaml
1616
1717echo " ----------------------------------------"
18-
1918# Show the generated template
2019cat CdkbasicStack.yaml
21-
2220echo " ----------------------------------------"
2321
24- pip install --user yamllint
25- yamllint CdkbasicStack.yaml
26-
2722aws cloudformation deploy --template-file CdkbasicStack.yaml --stack-name test-lld-cdk-basic --capabilities CAPABILITY_NAMED_IAM
You can’t perform that action at this time.
0 commit comments