Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do you specify --profile? #8

Open
omenking opened this issue Dec 21, 2020 · 2 comments
Open

How do you specify --profile? #8

omenking opened this issue Dec 21, 2020 · 2 comments

Comments

@omenking
Copy link

omenking commented Dec 21, 2020

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
Copy link
Contributor

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
Copy link

you can add "profile": "teacherseat" to the cdk.json file under cdk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants