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

Feature request: Support AWS "profile" parameter #30

Open
dleber opened this issue Oct 11, 2024 · 0 comments
Open

Feature request: Support AWS "profile" parameter #30

dleber opened this issue Oct 11, 2024 · 0 comments
Labels

Comments

@dleber
Copy link

dleber commented Oct 11, 2024

Use case

I'm going through a first time setup, and after running cloudfront-hosting-toolkit deploy, I receive the following error:

[ERROR] Impossible to connect to your the AWS account. Try to authenticate and try again.

I haven't yet authenticated the AWS cli. I have a few AWS account profiles configured in ~/.aws/credentials, and would like to authenticate only for the duration of the deploy command, as not to interfere with other projects.

Solution/User Experience

It would be ideal to specify a profile parameter, for example cloudfront-hosting-toolkit deploy --profile my-account

As an example of an existing implementation, AWS SAM deploy supports the profile parameter:

https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-deploy.html

Alternative solutions

No response

@dleber dleber added the triage label Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant