You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Use case
I'm going through a first time setup, and after running
cloudfront-hosting-toolkit deploy
, I receive the following error: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
The text was updated successfully, but these errors were encountered: