is it possible to generate code from import using an explicit provider? i have resources in another region i would like to import. i created an explicit aws provider for a different region, and am able to import the resource. however, i get an
undefined variable
error when the import is trying to generate the code.
b
billowy-army-68599
05/22/2023, 11:53 PM
Not with an explicit provider now. When you run Pulumi import, the Pulumi CLI (not the provider) needs to have valid credentials. You can more than likely achieve what you want to by just setting the correct AWS env vars like