Skip to content

Commit 1c5743e

Browse files
chore: debugging
1 parent d212d6c commit 1c5743e

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

package-lock.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/cdk-basic/.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ cdk.out
88

99
cdk-outputs.json
1010

11-
CdkbasicStack.yaml
11+
CdkbasicStack.yaml
12+
cdk-synth.log

test/cdk-basic/deploy-yaml.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This script is used to deploy the CDK stack using a YAML template.
2-
npx cdk synth --no-notices --quiet -c environment=test CdkbasicStack > CdkbasicStack.yaml
2+
npx cdk synth --no-notices -c environment=test CdkbasicStack 1> CdkbasicStack.yaml 2> cdk-synth.log
33

44
# Add a dummy resource to the template to force a change in the stack
55
awk '
@@ -15,8 +15,11 @@ awk '
1515
' CdkbasicStack.yaml > template.patched.yaml && mv template.patched.yaml CdkbasicStack.yaml
1616

1717
echo "----------------------------------------"
18+
1819
# Show the generated template
1920
cat CdkbasicStack.yaml
21+
2022
echo "----------------------------------------"
2123

24+
2225
aws cloudformation deploy --template-file CdkbasicStack.yaml --stack-name test-lld-cdk-basic --capabilities CAPABILITY_NAMED_IAM

0 commit comments

Comments
 (0)