calm-account-35699
03/31/2023, 7:53 AMus-east-1
region, but keeps getting a resource does not exist
error, despite having explicitly defined the provider.
This is how I'm doing it:
pulumi import 'aws:acm/certificate:Certificate' cert arn:aws:acm:us-east-1:<account id>:certificate/<cert id> --provider '<name>=<arn>'
My program code is using another default region, but I've defined a us-east-1
provider explicitly for thisprofile
in the provider definition, causing Pulumi to looked up the cert in the wrong account.