https://pulumi.com logo
Title
c

calm-account-35699

03/31/2023, 7:53 AM
Hi folks. I'm trying to import an ACM cert defined in the
us-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 this
Managed to resolve this. Turns out I forgot to include the
profile
in the provider definition, causing Pulumi to looked up the cert in the wrong account.