We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1272036 commit 1ba67cfCopy full SHA for 1ba67cf
test/cdk-basic/deploy-yaml.sh
@@ -1,9 +1,6 @@
1
# This script is used to deploy the CDK stack using a YAML template.
2
npx cdk synth -c environment=test CdkbasicStack > CdkbasicStack.yaml
3
4
-# Show the generated template
5
-cat CdkbasicStack.yaml
6
-
7
# Add a dummy resource to the template to force a change in the stack
8
awk '
9
/^Resources:/ && !injected {
@@ -16,4 +13,8 @@ awk '
16
13
}
17
14
{ print }
18
15
' CdkbasicStack.yaml > template.patched.yaml && mv template.patched.yaml CdkbasicStack.yaml
+
+# Show the generated template
+cat CdkbasicStack.yaml
19
20
aws cloudformation deploy --template-file CdkbasicStack.yaml --stack-name test-lld-cdk-basic --capabilities CAPABILITY_NAMED_IAM
0 commit comments