https://pulumi.com logo
Title
c

cold-midnight-33684

06/01/2022, 12:03 PM
hey everybody. how do I import a complete AWS Route53 hosted zone, with all of the records in it?
e

echoing-dinner-19531

06/01/2022, 12:31 PM
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 `
pulumi import aws:route53/zone:Zone myzone Z1D633PJN98FT9
And then you'll want to import each record like:
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