From 0bf761728a676a94b04362bb7de9453960d34901 Mon Sep 17 00:00:00 2001 From: Alex Weber Lopes <42207579+aweberlopes@users.noreply.github.com> Date: Thu, 7 Oct 2021 20:13:14 +0200 Subject: [PATCH] chore: correct examples in the Readme. (#59) * Ingress_policy raw implemented with dynamic blocks * addded egress_rule * added some fixes * added more documentation * added dry run to ingress and egress * added dry run options on readme * tf fmt * fixed provider version to 3.82 * fixed bq deletion protection * fixed lint * fixed output * Apply suggestions from code review added suggestion of @morgante Co-authored-by: Morgante Pell * simplified * generate docs * fixed some incorrect checks * added example and test the functionality * fixed one issue because of the access level * * Fixed Readmes for second / on submodules * removed the module on policy Co-authored-by: Morgante Pell --- modules/access_level/README.md | 2 +- modules/bridge_service_perimeter/README.md | 8 ++++---- modules/regular_service_perimeter/README.md | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/modules/access_level/README.md b/modules/access_level/README.md index b1ed344..1df2b9e 100644 --- a/modules/access_level/README.md +++ b/modules/access_level/README.md @@ -15,7 +15,7 @@ module "org_policy" { } module "access_level_members" { - source = "terraform-google-modules/vpc-service-controls/google/modules/access_level" + source = "terraform-google-modules/vpc-service-controls/google//modules/access_level" policy = module.org_policy.policy_id name = "terraform_members" members = ["serviceAccount:", "user:"] diff --git a/modules/bridge_service_perimeter/README.md b/modules/bridge_service_perimeter/README.md index 61bb834..3ee72d0 100644 --- a/modules/bridge_service_perimeter/README.md +++ b/modules/bridge_service_perimeter/README.md @@ -9,13 +9,13 @@ provider "google" { } module "org_policy" { - source = "terraform-google-modules/vpc-service-controls/google/modules/policy" + source = "terraform-google-modules/vpc-service-controls/google" parent_id = var.parent_id policy_name = var.policy_name } module "bridge_service_perimeter_1" { - source = "terraform-google-modules/vpc-service-controls/google/modules/bridge_service_perimeter" + source = "terraform-google-modules/vpc-service-controls/google//modules/bridge_service_perimeter" policy = module.org_policy.policy_id perimeter_name = "bridge_perimeter_1" description = "Some description" @@ -27,7 +27,7 @@ module "bridge_service_perimeter_1" { } module "regular_service_perimeter_1" { - source = "terraform-google-modules/vpc-service-controls/google/modules/regular_service_perimeter" + source = "terraform-google-modules/vpc-service-controls/google//modules/regular_service_perimeter" policy = module.org_policy.policy_id perimeter_name = "regular_perimeter_1" description = "Some description" @@ -41,7 +41,7 @@ module "regular_service_perimeter_1" { } module "regular_service_perimeter_2" { - source = "terraform-google-modules/vpc-service-controls/google/modules/regular_service_perimeter" + source = "terraform-google-modules/vpc-service-controls/google//modules/regular_service_perimeter" policy = module.org_policy.policy_id perimeter_name = "regular_perimeter_2" description = "Some description" diff --git a/modules/regular_service_perimeter/README.md b/modules/regular_service_perimeter/README.md index e748ae4..9389a27 100644 --- a/modules/regular_service_perimeter/README.md +++ b/modules/regular_service_perimeter/README.md @@ -9,13 +9,13 @@ provider "google" { } module "org_policy" { - source = "terraform-google-modules/vpc-service-controls/google/modules/policy" + source = "terraform-google-modules/vpc-service-controls/google" parent_id = var.parent_id policy_name = var.policy_name } module "regular_service_perimeter_1" { - source = "terraform-google-modules/vpc-service-controls/google/modules/regular_service_perimeter" + source = "terraform-google-modules/vpc-service-controls/google//modules/regular_service_perimeter" policy = module.org_policy.policy_id perimeter_name = "regular_perimeter_1" description = "Some description"