You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While useful, the note about removing the duplicate DNS entry is not quite correct. In particular, the state addresses are incorrect. Currently it says this:
If you're upgrading to v2.13.0 or above, you might be subject to off-by-one validation record issue. You can solve this without compromising existing validation records by issuing terraform state rm <your_module_name>.validation[1] where [1] can be a different index # depending on the number of validation records your module creates (you can check this with terraform state list module.<your_module_name>.validation).
I believe that the following would be clearer and more correct:
If you're upgrading to v2.13.0 or above, you might encounter the off-by-one validation record issue. You can check for and solve this without compromising existing validation with the following procedure:
List the Route 53 validation DNS records:
terraform state list module.<your_module_name>.aws_route53_record.validation
If more than one validation record is present, delete all but validation[0] from the Terraform state:
terraform state rm module.<your_module_name>.aws_route53_record.validation[1]
# Also delete validation[2] and so on if present
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Description
While useful, the note about removing the duplicate DNS entry is not quite correct. In particular, the state addresses are incorrect. Currently it says this:
terraform state rm <your_module_name>.validation[1]
where[1]
can be a different index # depending on the number of validation records your module creates (you can check this withterraform state list module.<your_module_name>.validation
).I believe that the following would be clearer and more correct:
If you're upgrading to v2.13.0 or above, you might encounter the off-by-one validation record issue. You can check for and solve this without compromising existing validation with the following procedure:
validation[0]
from the Terraform state:(End of improved documentation)
Versions
.
├── provider.aws
├── provider.local
├── module.acm
│ └── provider.aws >= 2.53
├── module.gitlab-label
├── module.label
├── module.lambda-label
└── module.this
Terraform v0.12.29
Reproduction
Steps to reproduce the behavior:
Code Snippet to Reproduce
Expected behavior
Actual behavior
Terminal Output Screenshot(s)
Additional context
The text was updated successfully, but these errors were encountered: