Closed toriancrane closed 9 months ago
@toriancrane AIUI this needs to be run in an AWS account where it has not previously been run (which counts our "dev-sandbox" account out). Can it be run multiple times (pulumi up
followed by pulumi destroy
) for testing?
@toriancrane AIUI this needs to be run in an AWS account where it has not previously been run (which counts our "dev-sandbox" account out). Can it be run multiple times (
pulumi up
followed bypulumi destroy
) for testing?
Yes it has to be in an account that does not already have it configured for Pulumi (added a note in the description to make that more visible). I had to run in my personal AWS account to test, and I was able to up/destroy multiple times no problem.
@scottslowe I saw your note on the old PR re: programmatically retrieving the name of the Pulumi Org. I couldn't find it in the docs at all, but I just tried with org = pulumi.get_organization()
and it actually worked! I will be updating with this, thank you!
Create Pulumi to AWS OIDC Configuration Example
Note that this needs to be run in an AWS account that does not already have Pulumi configured as a provider.