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
Nothing changes on the code but TXT DNS records for the apex domain are re-written over and over. Every time we run terraform plan the "changes" are proposed. Everytime we runterraform applythe "changes" are applied. The "changes", however, do not change anything (see below).
Describe the bug
The problem is there is some kind of false positive on the change detection
Affected Resource(s)
digitalocean_record
Expected Behavior
I expected no changes proposed and no changes applied.
Actual Behavior
Changes proposed and changes applied.
Steps to Reproduce
Create a record like this one:
resource "digitalocean_record" "acme-spf-TXT" {
domain = digitalocean_domain.acme.name
type = "TXT"
name = "acme.io."
value = "v=spf1 a:smtp01.acme.io a:smtp02.acme.io a:smtp.acme.io a:mailserver01.acme.io a:mail.acme.io -all"
}
And run terraform plan + terraform apply multiple times. The output will be:
# digitalocean_record.acme-spf-TXT will be updated in-place
~ resource "digitalocean_record" "acme-spf-TXT" {
id = "164360618"
~ name = "@" -> "acme.io."
# (9 unchanged attributes hidden)
}
Bug Report
Nothing changes on the code but TXT DNS records for the apex domain are re-written over and over. Every time we run
terraform plan
the "changes" are proposed. Everytime we runterraform apply
the "changes" are applied. The "changes", however, do not change anything (see below).Describe the bug
The problem is there is some kind of false positive on the change detection
Affected Resource(s)
Expected Behavior
I expected no changes proposed and no changes applied.
Actual Behavior
Changes proposed and changes applied.
Steps to Reproduce
Create a record like this one:
And run terraform plan + terraform apply multiple times. The output will be:
Terraform Configuration Files
Expected behavior
The expected behaviour would be no changes reported or applied.
Terraform version
The text was updated successfully, but these errors were encountered: