Hi folks. I'm trying to import an ACM cert defined...
# aws
c
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:
Copy code
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.