This message was deleted.
# aws
s
This message was deleted.
l
It says
warning: inputs to import do not match the existing resource; importing this resource will fail
because I'm getting this from the import diff:
Copy code
- name   : "<http://_d6d62a7c4af3d0436715db1baca934.example.com|_d6d62a7c4af3d0436715db1baca934.example.com>"
~ records: [
    - [0]: "_354679b838ae1b4f6aaa8def1cfd27.zzdlnjjwx.acm-validations.aws."
  ]
So it's not pulling the name and records[0] properties from Route53. I can see them in the console though.
When I run
pulumi import
(rather than
pulumi preview
with an import opt, which is what I was doing above) then I see the name and records[0] properties as expected... 🤔
Solved. Turns out the output properties I was populating the name and records[0] properties with were blank due to a previous bad import. (the domainValidationOptions of an aws.acm.Certificate aren't populated on refresh).