From dcbbf924f33967328ed2a2d415d9615893d16b1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Legrand?= Date: Mon, 11 Jan 2021 12:11:20 +0100 Subject: [PATCH] Update README.md in modules/dns Adding an example for DNS Peering zones. --- modules/dns/README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/modules/dns/README.md b/modules/dns/README.md index 74c18633..39fa3c1b 100644 --- a/modules/dns/README.md +++ b/modules/dns/README.md @@ -38,6 +38,21 @@ module "private-dns" { # tftest:modules=1:resources=1 ``` +### Peering Zone + +```hcl +module "private-dns" { + source = "./modules/dns" + project_id = "myproject" + type = "peering" + name = "test-example" + domain = "test.example." + client_networks = [var.vpc.self_link] + peer_network = var.peer_vpc.self_link +} +# tftest:modules=1:resources=1 +``` + ## Variables