From 146156e390497427f9b309e6d7b464f7c9950de1 Mon Sep 17 00:00:00 2001 From: Ludovico Magnocavallo Date: Wed, 18 Sep 2019 17:11:42 +0200 Subject: [PATCH] remove variables and use registry source in README example --- README.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 161ee35..c8dd406 100644 --- a/README.md +++ b/README.md @@ -19,13 +19,16 @@ Basic usage of this module for a private zone is as follows: ```hcl module "dns-private-zone" { - source = "../.." - project_id = var.project_id + source = "terraform-google-modules/cloud-dns/google" + version = "2.0.0" + project_id = "my-project" type = "private" - name = var.name - domain = var.domain + name = "example-com" + domain = "example.com." - private_visibility_config_networks = [var.network_self_link] + private_visibility_config_networks = [ + "https://www.googleapis.com/compute/v1/projects/my-project/global/networks/my-vpc" + ] record_names = ["localhost"] record_data = [