Skip to content

feat: Add --profile-env flag to exec command to facilitate AWS_PROFILE SDK usage #339

@tthayer

Description

@tthayer

I have some Pulumi stacks that depend on the AWS_PROFILE env var and cached sso token to run. Typically this involves me having to run aws sso login MYPROFILE and then setting the env var manually or doing something with a script. I'm very invested in using aws-vault for my workflows since it works great for everything else I have to do that isn't necessarily Pulumi-related.
I have a (very heavily robot-coded) branch that I have been using for this purpose today that adds the --profile-env flag to the exec command and it does the appropriate thing for my use-case without breaking normal exec usage.

#340 Has been created to implement this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions