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

[BUG] updating the DNS on the network resource does nothing #235

Closed
fernando-villalba opened this issue Jun 21, 2024 · 0 comments · Fixed by #280
Closed

[BUG] updating the DNS on the network resource does nothing #235

fernando-villalba opened this issue Jun 21, 2024 · 0 comments · Fixed by #280
Assignees
Labels
bug Something isn't working

Comments

@fernando-villalba
Copy link
Contributor

Description

If you change the DNS config after creating a network resource, the changes do not get applied.

resource "civo_network" "test-issue" {
    label = "test-something3"
    #  nameservers_v4 = ["9.9.9.9"] # uncomment this and apply again after creation
}

Moreover, terraform insists on removing existing DNS settings on every apply which it shouldn't do, but actually when you apply it doesn't do it. This behaviour has been described on this issue

image

Acceptance Criteria

  • Apply changes to DNS when the user adds them to the configuration, this does not require a replacement of the resource.
  • Ensure that all other state gets registered properly and you do not get asked to do something over and over again that's not real.
  • Ensure that the list provided on the nameservers_v4 parameter is declarative, not imperative, meaning what's there is exactly what the configuration will be, not adding on top of it

Screenshots

No response

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants