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

scaleway_domain_record does not update to reflect configuration #2873

Open
incubateur-anct opened this issue Jan 15, 2025 · 0 comments
Open
Assignees
Labels
domain Domains issues, bugs and feature requests

Comments

@incubateur-anct
Copy link

incubateur-anct commented Jan 15, 2025

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version

$ tofu -version
OpenTofu v1.8.1
on linux_amd64
+ provider registry.opentofu.org/scaleway/scaleway v2.46.0

Affected Resource(s)

  • scaleway_domain_record

Terraform Configuration Files

locals {
  dns_zone = any_dns_zone
}
resource "scaleway_domain_record" "test" {
  dns_zone = local.dns_zone
  name     = "poc-bug"
  data     = "example.org."
  type     = "CNAME"
}

Debug Output

Panic Output

Expected Behavior

On the second apply, tofu should revert the record data to the value in HCL configuration.

Actual Behavior

Tofu doesn't change anything.

Steps to Reproduce

  1. tofu apply
  2. change the data from example.org. in the Scaleway console to completely.invalid.
  3. tofu apply

Important Factoids

References

@jremy42 jremy42 self-assigned this Jan 15, 2025
@jremy42 jremy42 added the domain Domains issues, bugs and feature requests label Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain Domains issues, bugs and feature requests
Projects
None yet
Development

No branches or pull requests

2 participants