hey everybody. how do I import a complete AWS Rout...
# general
c
hey everybody. how do I import a complete AWS Route53 hosted zone, with all of the records in it?
e
You have to give pulumi all the ID's to import. The docs pages have import sections on them, but for a zone it will look something like `
Copy code
pulumi import aws:route53/zone:Zone myzone Z1D633PJN98FT9
And then you'll want to import each record like:
Copy code
pulumi import aws:route53/record:Record myrecord Z1D633PJN98FT9_dev.example.com_NS
If aws cli gives you a way to query a whole zone for record ID's you could probably script that