pulumi-eks icon indicating copy to clipboard operation
pulumi-eks copied to clipboard

Expose AWS credentials from stack config to environment so kubectl can use them

Open omercnet opened this issue 2 years ago • 0 comments

Hello!

  • Vote on this issue by adding a 👍 reaction
  • If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details

When trying to setup an EKS cluster, one cannot only rely on configuring the aws credentials in the stack config (https://www.pulumi.com/registry/packages/aws/installation-configuration/#configuration-options) but must export them to environment variables so kubectl will pick them up.

If we would have pulumi-eks (or pulumi-aws?) expose the creds from the stack config to the environment variables for supporting tools to use then you could benefit from a single source of credentials (the stack config), which is also encrypted.

Affected area/feature

Use of AWS credentials by kubectl

omercnet avatar May 07 '22 20:05 omercnet