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

Issue with DNS Record Removal in MAAS via Terraform #195

Open
hamatuni opened this issue Jun 27, 2024 · 0 comments
Open

Issue with DNS Record Removal in MAAS via Terraform #195

hamatuni opened this issue Jun 27, 2024 · 0 comments
Labels
bug Something isn't working triaged Triaged to be addressed in a given cycle

Comments

@hamatuni
Copy link

There is an issue with DNS record management in MAAS. When I have two DNS records (test-1, test-2) pointing to the same IP address, and I remove one record (e.g., test-1) via Terraform, it also removes the other record (test-2) in MAAS.

Steps to Reproduce:

  1. Create two DNS records with the following Terraform configuration:
resource "maas_dns_record" "test_1" {
  type   = "A/AAAA"
  data   = "8.8.8.8"
  name   = "test-1"
  domain = "maas"
}

resource "maas_dns_record" "test_2" {
  type   = "A/AAAA"
  data   = "8.8.8.8"
  name   = "test-2"
  domain = "maas"
}
  1. Apply the configuration to create both records in MAAS.

  2. Remove one of the DNS records (e.g., test_1) using Terraform.

Expected Result: Only the specified record (test_1) should be removed.
Actual Result: Both records (test_1 and test_2) are removed from MAAS.

@skatsaounis skatsaounis added bug Something isn't working triaged Triaged to be addressed in a given cycle labels Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triaged Triaged to be addressed in a given cycle
Projects
None yet
Development

No branches or pull requests

2 participants