- Mais recentes
- Mais votos
- Mais comentários
Hello,
You can login to production account and run the below command to get list of records in the hosted zone in a file.
aws route53 list-resource-record-sets --hosted-zone-id hosted-zone-id > path-to-output-file For hosted-zone-id, specify the ID of the hosted zone that you got in step 2 of this procedure. For path-to-output-file, specify the directory path and file name that you want to save the output in.
Then, edit the format of file as per step 4 in https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/hosted-zones-migrating.html#hosted-zones-migrating-edit-records.
Now, you can run below command in secondary account to add the records here. aws route53 change-resource-record-sets --hosted-zone-id id-of-new-hosted-zone --change-batch file://path-to-file-that-contains-records
For detailed info: refer to step 3-6 in file: https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/hosted-zones-migrating.html#hosted-zones-migrating-create-records
Conteúdo relevante
- AWS OFICIALAtualizada há 10 meses
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há um ano
- AWS OFICIALAtualizada há 2 anos
Agree with this approach. I have performed this before without an issue.