Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions policies_compute.tf
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

module "external_ip_policy" {
source = "terraform-google-modules/org-policy/google"
version = "~> 4.0"
version = "~> 7.0"
constraint = "compute.vmExternalIpAccess"
policy_for = "folder"
folder_id = local.folder_trusted
Expand All @@ -40,7 +40,7 @@ module "external_ip_policy" {

module "network_policy" {
source = "terraform-google-modules/org-policy/google"
version = "~> 4.0"
version = "~> 7.0"
policy_for = "folder"
folder_id = local.folder_trusted
constraint = "compute.skipDefaultNetworkCreation"
Expand All @@ -50,7 +50,7 @@ module "network_policy" {

module "serial_port_access_policy" {
source = "terraform-google-modules/org-policy/google"
version = "~> 4.0"
version = "~> 7.0"
policy_for = "folder"
folder_id = local.folder_trusted
constraint = "compute.disableSerialPortAccess"
Expand All @@ -60,7 +60,7 @@ module "serial_port_access_policy" {

module "serial_port_logging_policy" {
source = "terraform-google-modules/org-policy/google"
version = "~> 4.0"
version = "~> 7.0"
policy_for = "folder"
folder_id = local.folder_trusted
constraint = "compute.disableSerialPortLogging"
Expand All @@ -70,7 +70,7 @@ module "serial_port_logging_policy" {

module "ssh_policy" {
source = "terraform-google-modules/org-policy/google"
version = "~> 4.0"
version = "~> 7.0"
policy_for = "folder"
folder_id = local.folder_trusted
constraint = "compute.requireOsLogin"
Expand All @@ -80,7 +80,7 @@ module "ssh_policy" {

module "protocol_forwarding_creation" {
source = "terraform-google-modules/org-policy/google"
version = "~> 4.0"
version = "~> 7.0"
constraint = "compute.restrictProtocolForwardingCreationForTypes"
policy_for = "folder"
folder_id = local.folder_trusted
Expand All @@ -91,7 +91,7 @@ module "protocol_forwarding_creation" {

module "vpc_subnet_policy" {
source = "terraform-google-modules/org-policy/google"
version = "~> 4.0"
version = "~> 7.0"
constraint = "compute.restrictSharedVpcSubnetworks"
policy_for = "folder"
folder_id = local.folder_trusted
Expand Down
2 changes: 1 addition & 1 deletion policies_gcp.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

module "drz_policy" {
source = "terraform-google-modules/org-policy/google"
version = "~> 4.0"
version = "~> 7.0"
constraint = "gcp.resourceLocations"
policy_for = "folder"
folder_id = local.folder_trusted
Expand Down
6 changes: 3 additions & 3 deletions policies_iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

module "service_account_policy" {
source = "terraform-google-modules/org-policy/google"
version = "~> 4.0"
version = "~> 7.0"
policy_for = "folder"
folder_id = local.folder_trusted
constraint = "iam.disableServiceAccountCreation"
Expand All @@ -38,7 +38,7 @@ module "service_account_policy" {

module "service_account_key_policy" {
source = "terraform-google-modules/org-policy/google"
version = "~> 4.0"
version = "~> 7.0"
policy_for = "folder"
folder_id = local.folder_trusted
constraint = "iam.disableServiceAccountKeyCreation"
Expand All @@ -48,7 +48,7 @@ module "service_account_key_policy" {

module "iam_grant_policy" {
source = "terraform-google-modules/org-policy/google"
version = "~> 4.0"
version = "~> 7.0"
policy_for = "folder"
folder_id = local.folder_trusted
constraint = "iam.automaticIamGrantsForDefaultServiceAccounts"
Expand Down