Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DXE-4292 EdgeDNS record TTL is not recognized as changed parameter if it's changed outside of terraform #585

Open
martin-simek-gen opened this issue Oct 7, 2024 · 1 comment

Comments

@martin-simek-gen
Copy link

Hi there,

We realized issue regarding TTL parameter for resource akamai_dns_record. If the parameter is changed outside of terraform, e.g. by WEB UI or Akamai API, terraform doesn't recognize changes. This means that terraform has different configuration than the reality is.

Terraform and Akamai Terraform Provider Versions

Akamai provider: the latest release (6.4.0) and all previous one
Terraform: v1.9.7 + v1.7.5
Terragrunt version v0.67.14

Affected Resource(s)

  • akamai_dns_record (all record types)

Terraform Configuration Files

resource "akamai_dns_record" "txt" {
  name       = "testingi2.workplace.avast.com"
  recordtype = "TXT"
  ttl        = 300
  target     = ["foo"]
}

Expected Behavior

Any difference between real value of TTL and terraform manifest should be changed to terraform value of TTL.

Actual Behavior

If TTL is changed out of terraform, the terraform plan doesn't recognize any change.

Steps to Reproduce

  1. Create any DNS record via terraform with TTL = 300
  2. Change TTL of the record via WEB UI to value 301
  3. Run terraform plan for the record
  4. terraform output: No changes
@lsadlon
Copy link

lsadlon commented Oct 10, 2024

Hi @martin-simek-gen

I was able to reproduce this issue and create internal ticket to fix it. We will inform you about progress.

BR,
Lukasz

@lsadlon lsadlon changed the title EdgeDNS record TTL is not recognized as changed parameter if it's changed outside of terraform DXE-4292 EdgeDNS record TTL is not recognized as changed parameter if it's changed outside of terraform Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants