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.
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 MYPROFILEand 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-envflag to the exec command and it does the appropriate thing for my use-case without breaking normalexecusage.#340 Has been created to implement this.