File tree Expand file tree Collapse file tree 3 files changed +3
-7
lines changed Expand file tree Collapse file tree 3 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- BUCKET=$( jq -r ' .Bucket' parameters.json)
43VPC_ID=$( jq -r ' .VpcId as $k | "VpcId=\($k)"' parameters.json)
54SUBNET_ID=$( jq -r ' .SubnetId as $k | "SubnetId=\($k)"' parameters.json)
65PASSWORD=$( jq -r ' .Password as $k | "Password=\($k)"' parameters.json)
76
8- rm -rf .aws-sam
9- sam build --template sam/template.yaml
10- sam package --output-template-file .aws-sam/packaged.yaml --s3-bucket ${BUCKET}
11- sam deploy --template-file .aws-sam/packaged.yaml --stack-name aws-data-wrangler-test-arena \
7+ aws cloudformation deploy \
8+ --template-file template.yaml \
9+ --stack-name aws-data-wrangler-test-arena \
1210--capabilities CAPABILITY_IAM \
1311--parameter-overrides ${VPC_ID} ${SUBNET_ID} ${PASSWORD}
14- rm -rf .aws-sam
Original file line number Diff line number Diff line change 11{
2- "Bucket" : " BUCKET_NAME" ,
32 "VpcId" : " VPC_ID" ,
43 "SubnetId" : " SUBNET_ID" ,
54 "Password" : " REDSHIFT_PASSWORD"
File renamed without changes.
You can’t perform that action at this time.
0 commit comments