title: Terraform - AWS Route53 Prevent Domain Deletion
body: <p>I'm using terraform with AWS to manage an environment and want to be able to reference an existing route53 domain, add/modify records in the domain, etc.</p>
  
  <p>If I run "terraform destroy" I want to delete all of the records added in the terraform code, but I do not want to delete the domain itself.</p>
  
  <p>Is there a "proper" method for accomplishing this within the terraform config? Currently I have the domain information (zone ID, etc.) hardcoded into the .tf files, but if there is a way to reference this from the resource itself without allowing TF to destroy the domain that would seem ideal.</p>
  
  <p>Any help would be appreciated!</p>
  
  <p>Thanks,</p>
  
  <p>Chris</p>