Deploy Serverless Application doesn't use --profile, which bypasses config settings #3496
Unanswered
9h87f497h4387b9
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
IntelliJ IDEA: 2022.3.2
AWS Toolkit: 1.61-223
AWS CLI: aws-cli/2.10.3 Python/3.9.11 Windows/10 exe/AMD64
SAM CLI: SAM CLI, version 1.74.0
My environment requires I provide certs to be able to connect to external resources. I set these up with AWS CLI and SAM CLI by including ca_bundle in the config file associated with profile_a. My credentials are also generated under profile_a. Jetbrains recognizes my connection as profile_a@us-east-1. However, when I run Deploy Serverless Application, IntelliJ runs sam package but does not include --profile profile_a in the command, and therefore the ca_bundle (and other settings) are not included and the command fails. The same command runs successfully when appending --profile profile_a.
How can I convince the AWS Toolkit to add --profile to the calls to sam package (and also likely sam deploy).
Beta Was this translation helpful? Give feedback.
All reactions