From 8a20a14a0df331bf034a82b5f0b8074a4976729b Mon Sep 17 00:00:00 2001 From: Julio Castillo Date: Thu, 3 Nov 2022 14:50:53 +0100 Subject: [PATCH] Move policy to serverless.yaml --- fast/stages/01-resman/data/org-policies/serverless.yaml | 5 +++++ fast/stages/01-resman/organization.tf | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/fast/stages/01-resman/data/org-policies/serverless.yaml b/fast/stages/01-resman/data/org-policies/serverless.yaml index d0eb19d8..de62e6c7 100644 --- a/fast/stages/01-resman/data/org-policies/serverless.yaml +++ b/fast/stages/01-resman/data/org-policies/serverless.yaml @@ -7,6 +7,11 @@ run.allowedIngress: values: - is:internal +# run.allowedVPCEgress: +# allow: +# values: +# - is:private-ranges-only + # cloudfunctions.allowedIngressSettings: # allow: # values: diff --git a/fast/stages/01-resman/organization.tf b/fast/stages/01-resman/organization.tf index 34927c15..7ecf7952 100644 --- a/fast/stages/01-resman/organization.tf +++ b/fast/stages/01-resman/organization.tf @@ -82,7 +82,6 @@ module "organization" { # ] # } # } - # "run.allowedVPCEgress" = { allow = { values = ["is:private-ranges-only"] } } } org_policies_data_path = "${var.data_dir}/org-policies"