Skip to content

Commit 1ba67cf

Browse files
chore: add logs
1 parent 1272036 commit 1ba67cf

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

test/cdk-basic/deploy-yaml.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
# This script is used to deploy the CDK stack using a YAML template.
22
npx cdk synth -c environment=test CdkbasicStack > CdkbasicStack.yaml
33

4-
# Show the generated template
5-
cat CdkbasicStack.yaml
6-
74
# Add a dummy resource to the template to force a change in the stack
85
awk '
96
/^Resources:/ && !injected {
@@ -16,4 +13,8 @@ awk '
1613
}
1714
{ print }
1815
' CdkbasicStack.yaml > template.patched.yaml && mv template.patched.yaml CdkbasicStack.yaml
16+
17+
# Show the generated template
18+
cat CdkbasicStack.yaml
19+
1920
aws cloudformation deploy --template-file CdkbasicStack.yaml --stack-name test-lld-cdk-basic --capabilities CAPABILITY_NAMED_IAM

0 commit comments

Comments
 (0)