mirror of https://github.com/hashicorp/terraform
provider/aws: fix aws_route53_zone force_destroy behavior (#12421)
The conditional to ignore the deletion of NS and SOA records can fail to match if the hostedZoneName already ends with a ".". When that happens, terraform tries to delete those records which is not supported by AWS and results in a 400 bad request. This fixes the conditional so that it will work whether or not hostedZoneName ends with a ".". fixes #12407pull/13919/head
parent
8343d5908f
commit
e2ee211b7b
Loading…
Reference in new issue