magnificent-smartphone-40853
07/03/2023, 4:13 PMpulumi login 's3://my-bucket-here?region=us-east-1&awssdk=v2&profile=my-profile-here'
Logged in to MY-DESKTOP as MY-DESKTOP\my-user(s3://my-bucket-here?region=us-east-1&awssdk=v2&profile=my-profile-here)I'm getting the following error when running `pulumi up`:
AccessDeniedException: The ciphertext refers to a customer master key that does not exist, does not exist in this region, or you are not allowed to access.Am I missing something?
magnificent-smartphone-40853
07/03/2023, 4:17 PMbillowy-army-68599
magnificent-smartphone-40853
07/03/2023, 5:03 PMmagnificent-smartphone-40853
07/03/2023, 5:05 PMmagnificent-smartphone-40853
07/03/2023, 5:07 PMbillowy-army-68599
billowy-army-68599
magnificent-smartphone-40853
07/03/2023, 5:27 PMbillowy-army-68599
AWS_PROFILE=foo pulumi up
billowy-army-68599
where multiple profiles are required between environmentsthe things to remember here are: • the provider configuration and the state configuration are separate and authenticate distinctly. Your aws profile being set in the provider config doesn’t affect the state storage bucket configuration • if you’re storing your state in profile A but want to use profile B, you’ll need to provide both those credentials to pulumi
magnificent-smartphone-40853
07/03/2023, 5:34 PMbillowy-army-68599
aws:profile
in the stack configuration?magnificent-smartphone-40853
07/03/2023, 5:36 PMbillowy-army-68599
the provider configuration and the state configuration are separate and authenticate distinctly. Your aws profile being set in the provider config doesn’t affect the state storage bucket configurationif you do
export AWS_PROFILE=
it should workmagnificent-smartphone-40853
07/03/2023, 5:39 PMbillowy-army-68599
magnificent-smartphone-40853
07/03/2023, 5:42 PM