Skip to content

Commit 36146bb

Browse files
debug: add output to CDK template generation
Attempt to debug an issue in the deploy pipeline by printing the contents of the auto-generated CDK templates.
1 parent 0006499 commit 36146bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"ci-perform-tasks-parallel": "npx org-formation perform-tasks ./org-formation/_tasks.yaml --verbose --print-stack --max-concurrent-stacks 10 --max-concurrent-tasks 10 --perform-cleanup",
1313
"validate-tasks": "npx org-formation validate-tasks ./org-formation/_tasks.yaml --verbose --print-stack --failed-tasks-tolerance 0 --max-concurrent-stacks 100 --max-concurrent-tasks 100",
1414
"cfn-lint": "cfn-lint ./.printed-stacks/**/*.yaml -i W2001,E3001,E1019,W1020,W2509,E3021",
15-
"generate-cdk-bootstrap-template": "npx cdk bootstrap --json --show-template > org-formation/200-baseline/tmptemplate.json",
16-
"patch-cdk-bootstrap-template": "jq '.Resources.FileAssetsBucketEncryptionKey.Properties += {\"EnableKeyRotation\" :true}' org-formation/200-baseline/tmptemplate.json > org-formation/200-baseline/cdk-bootstrap.json"
15+
"generate-cdk-bootstrap-template": "npx cdk bootstrap --json --show-template > org-formation/200-baseline/tmptemplate.json && cat org-formation/200-baseline/tmptemplate.json",
16+
"patch-cdk-bootstrap-template": "jq '.Resources.FileAssetsBucketEncryptionKey.Properties += {\"EnableKeyRotation\" :true}' org-formation/200-baseline/tmptemplate.json > org-formation/200-baseline/cdk-bootstrap.json && cat org-formation/200-baseline/cdk-bootstrap.json"
1717
},
1818
"repository": {
1919
"type": "git",

0 commit comments

Comments
 (0)