Skip to content

Commit

Permalink
add cli command and require client package
Browse files Browse the repository at this point in the history
  • Loading branch information
aBurmeseDev committed Jan 8, 2025
1 parent d7d520a commit a17b3d3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/cloudformation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ jobs:
- name: Create CloudFormation Stack
run: |
npm install @aws-sdk/client-cloudformation
node create-stack.js
node -e 'require("@aws-sdk/client-cloudformation")'
aws cloudformation create-stack \
--stack-name my-stack-node-${{ matrix.node-version | replace('\.', '-') }} \
--template-body '{"Resources": {"MyBucket": {"Type": "AWS::S3::Bucket", "Properties": {"BucketName": "sdk-node-repro"}}}}' \
--capabilities CAPABILITY_NAMED_IAM
env:
AWS_REGION: us-west-2

0 comments on commit a17b3d3

Please sign in to comment.