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

Make routers configurable as list for DNS Zone #2266

Closed
Richie1710 opened this issue Aug 17, 2023 · 1 comment
Closed

Make routers configurable as list for DNS Zone #2266

Richie1710 opened this issue Aug 17, 2023 · 1 comment
Assignees

Comments

@Richie1710
Copy link

Based on documentation I can only add one router to the DNS zone

https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/latest/docs/resources/dns_zone_v2

as you can see in attached screenshot its possible to add multiple VPCs/routers to one Service Zone

image
@anton-sidelnikov
Copy link
Member

Hi @Richie1710,
I will update example block:

resource "opentelekomcloud_dns_zone_v2" "zone_1" {
  name        = "test"
  email       = "email1@example.com"
  description = "a private zone"
  ttl         = 3000
  type        = "private"

  router {
    router_id     = "first"
    router_region = "eu-de"
  }

  router {
    router_id     = "second"
    router_region = "eu-de"
  }
}

otc-zuul bot pushed a commit that referenced this issue Aug 17, 2023
…zone_v2` (#2268)

[DNS] example for multiple routers in `resource/opentelekomcloud_dns_zone_v2`

Summary of the Pull Request
Updated examples
PR Checklist

 Refers to: #2266
 Tests added/passed.
 Documentation updated.
 Schema updated.
 Release notes added.

Reviewed-by: Artem Lifshits
Reviewed-by: Vladimir Vshivkov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants