Skip to content

Commit d212d6c

Browse files
chore: debugging
1 parent 64088c7 commit d212d6c

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

test/cdk-basic/deploy-yaml.sh

Lines changed: 1 addition & 6 deletions
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 -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
55
awk '
@@ -15,13 +15,8 @@ awk '
1515
' CdkbasicStack.yaml > template.patched.yaml && mv template.patched.yaml CdkbasicStack.yaml
1616

1717
echo "----------------------------------------"
18-
1918
# Show the generated template
2019
cat CdkbasicStack.yaml
21-
2220
echo "----------------------------------------"
2321

24-
pip install --user yamllint
25-
yamllint CdkbasicStack.yaml
26-
2722
aws cloudformation deploy --template-file CdkbasicStack.yaml --stack-name test-lld-cdk-basic --capabilities CAPABILITY_NAMED_IAM

0 commit comments

Comments
 (0)