https://pulumi.com logo
Title
r

red-truck-60031

04/28/2022, 1:07 PM
Hi folks, Is there a way to setup and use pulumi without the access keys, and only the IAM Role
export AWS_ACCESS_KEY_ID=<YOUR_ACCESS_KEY_ID> && export AWS_SECRET_ACCESS_KEY=<YOUR_SECRET_ACCESS_KEY>
Basically, Want to know if this step has a workaround, as I want to run pulumi from a container
l

limited-rainbow-51650

04/28/2022, 1:11 PM
The AWS provider has the AWS Go SDK integrated. Every AWS SDK implements the default credential lookup in the same way. I couldn't find the lookup strategy in the Go SDK, but you can see how this credential lookup is implemented in the AWS SDK docs: https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/auth/DefaultAWSCredentialsProviderChain.html
r

red-truck-60031

04/28/2022, 1:20 PM
Thank you! Anything I can set in my kubernetes job or config file? I'm trying to run pulumi up from my dockerfile, and my main is in go