aws-samples / enable-lti

https://aws-samples.github.io/enable-lti/
Apache License 2.0
10 stars 2 forks source link

bootstrapping with IAM profile #10

Closed szecsi closed 1 year ago

szecsi commented 1 year ago

While following the implementation instructions, the given

npm run cdk bootstrap

command fails to resolve the AWS account for me. Other documentation tells me to use --profile my-dev-profile, but

npm run cdk bootstrap --profile my-dev-profile

interprets my-dev-profile to be an environment name that should be in the format 'aws://account/region'. Giving such an environment string results in complaints that operations should be performed for the account but no credentials are given.

Is there a way to make the --profile option work? If not, then what other method should be used to specify the credentials?

Thank you!

szecsi commented 1 year ago

npm run cdk bootstrap -- -- --profile my-dev-profile

did the trick