broad-gold-4471303/22/2021, 4:38 AM
I followed a recent thread and set a bunch of config variables, but that doesn't help
error: Preview failed: 1 error occurred: * error configuring Terraform AWS Provider: no valid credential sources for Terraform AWS Provider found.
I'm using Pulumi 2.23.1. Tried going back a few versions, but that didn't help either. I know the credentials from the aws:profile work because I can use them with awscli.
aws:profile xxxxxx aws:region us-east-1 aws:skipCredentialsValidation false aws:skipGetEc2Platforms false aws:skipMetadataApiCheck false aws:skipRegionValidation false
brave-planet-1064503/22/2021, 7:42 AM
broad-gold-4471303/22/2021, 1:49 PM
brave-planet-1064503/22/2021, 8:30 PM
broad-gold-4471303/26/2021, 12:32 AM
The stack was using an old AWS profile for credentials that I had since deleted. I was able to change the profile by editing the json and re-importing.
pulumi stack export