From 6b24acbbd4895409b2d2da9bbd5d901878530f1c Mon Sep 17 00:00:00 2001 From: Daniel Marzini Date: Tue, 14 Sep 2021 10:21:36 +0200 Subject: [PATCH] Update README.md --- modules/vpc-sc/README.md | 45 ++-------------------------------------- 1 file changed, 2 insertions(+), 43 deletions(-) diff --git a/modules/vpc-sc/README.md b/modules/vpc-sc/README.md index 43331e83..6132bf13 100644 --- a/modules/vpc-sc/README.md +++ b/modules/vpc-sc/README.md @@ -141,7 +141,8 @@ module "vpc-sc" { module "vpc-sc-first" { source = "./modules/vpc-sc" organization_id = "organizations/112233" - access_policy_title = "My Org Access Policy" + access_policy_create = false + access_policy_name = "My Access Policy" access_levels = { my_trusted_proxy = { combining_function = "AND" @@ -180,48 +181,6 @@ module "vpc-sc-first" { } } -module "vpc-sc-second" { - source = "./modules/vpc-sc" - organization_id = "organizations/112233" - access_policy_create = false - access_policy_name = module.vpc-sc-first.access_policy_name - access_levels = { - my_trusted_proxy = { - combining_function = "AND" - conditions = [{ - ip_subnetworks = ["85.85.85.52/32"] - required_access_levels = null - members = [] - negate = false - regions = null - }] - } - } - access_level_perimeters = { - enforced = { - my_trusted_proxy = ["secperimeter"] - } - } - perimeters = { - secperimeter = { - type = "PERIMETER_TYPE_REGULAR" - dry_run_config = { - restricted_services = ["storage.googleapis.com", "bigquery.googleapis.com"] - vpc_accessible_services = ["storage.googleapis.com", "bigquery.googleapis.com"] - } - enforced_config = { - restricted_services = ["storage.googleapis.com"] - vpc_accessible_services = ["storage.googleapis.com"] - } - } - } - perimeter_projects = { - secperimeter = { - enforced = [444444444, 666666666] - dry_run = [555555555] - } - } -} # tftest:modules=2:resources=5 ```