https://pulumi.com logo
Title
g

gifted-terabyte-92288

04/01/2021, 6:22 PM
👋 Hey, y'all. I've been running up against an error this morning when trying to
pulumi up
or `pulumi refresh`:
error: Preview failed: unable to discover AWS AccessKeyID and/or SecretAccessKey - see <https://pulumi.io/install/aws.html> for details on configuration
Neither command will get past this point. I have the AWS profile configured and it has worked up until this morning. The AWS CLI still works as expected. Any insights into how I can track down the issue?
g

gentle-diamond-70147

04/01/2021, 8:01 PM
How are you providing the profile to Pulumi? You need to set it with
AWS_PROFILE
environment variable or with
pulumi config set aws:profile ...
.
g

gifted-terabyte-92288

04/01/2021, 8:38 PM
I had tried both of those options. I had a colleague destroy my stack from their machine and everything is working again. ¯\_(ツ)_/¯