sparse-intern-71089
07/27/2023, 9:28 PMfresh-scientist-56300
07/27/2023, 9:39 PMAWS_PROFILE="" AWS_REGION="" pulumi preview or AWS_PROFILE= AWS_REGION= pulumi previewsalmon-account-74572
07/27/2023, 9:40 PMdirenv to set AWS_PROFILE to whatever value you want when you enter the directory where the Pulumi project is stored. It’s not ideal, but it’ll get you up and running.crooked-lizard-5175
07/27/2023, 10:10 PMsalmon-account-74572
07/27/2023, 10:40 PMcrooked-lizard-5175
07/27/2023, 10:48 PMpulumi import to import a resource in region A, but my KMS key is in region B. So i say AWS_REGION=B, pulumi can't find the resource I am trying to import (because it's looking in the wrong region). But if I say AWS_REGION=A, pulumi can't find the KMS key to initialize the secrets.crooked-lizard-5175
07/27/2023, 10:49 PMcrooked-lizard-5175
07/27/2023, 10:51 PMaws:profile value for finding the region for the KMS key, and the aws:region value for doing the actual resource management.salmon-account-74572
07/27/2023, 10:55 PMaws:profile and aws:region the way you’re describing.salmon-account-74572
07/27/2023, 10:55 PMcrooked-lizard-5175
07/27/2023, 11:15 PMpulumi import command, I did see a --provider option, but I was struggling to figure out how to specify an AWS provider urn that points to a different region. This is what I should dig into though?crooked-lizard-5175
07/27/2023, 11:32 PMfierce-ability-58936
07/28/2023, 1:19 AM