How do you specify --profile?
omenking opened this issue · 2 comments
omenking commented
For us CloudFormation old-timer, can you profile instructions on how to provide a profile via the usual --profile flag.
I thought possibly:
npm run deploy-infra --profile teacherseat
or possibly:
PROFILE=teacherseat npm run deploy-infra
micksatana commented
If you want to run with teacherseat
. You can either edit the scripts
(all that has cdk
) in package.json
to run with --profile teacherseat
option. Or you can do AWS_PROFILE=teacherseat npm run deploy-infra
.
gham-khaled commented
you can add "profile": "teacherseat"
to the cdk.json
file under cdk
.