Open jkruse14 opened 2 months ago
This is running in GitHub Actions, so some extra details
aws-actions/configure-aws-credentials
- name: cfn package
id: cfn-package
working-directory: "./hook"
shell: bash
run: |
AWS_PROFILE="default"
ACCOUNT_ID=$(aws sts get-caller-identity --query Account --output text)
cfn generate
cfn package
date=$(date '+%Y-%m-%d-%H-%M-%S')
echo "uploading artifact to s3://my-artifacts-bucket/myCompany-cloudformation-guard-$date.zip"
aws s3 cp ./myCompany-cloudformation-guard.zip s3://my-artifacts-bucket/myCompany-cloudformation-guard-$date.zip
echo "artifact_name=myCompany-cloudformation-guard-$date.zip" >> $GITHUB_OUTPUT
When running
cfn package
, I am getting the following errormy rpdk config is:
I have
profile
set to default and I setAWS_PROFRILE
to default in my deploy script. WhatProfile
is it looking for?