Update README.md in modules/dns

Adding an example for DNS Peering zones.
This commit is contained in:
Aurélien Legrand 2021-01-11 12:11:20 +01:00 committed by GitHub
parent 389b24da0a
commit dcbbf924f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 0 deletions

View File

@ -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
```
<!-- BEGIN TFDOC -->
## Variables