terraform-google-modules / terraform-google-org-policy

Manages Google Cloud organization policies
https://registry.terraform.io/modules/terraform-google-modules/org-policy/google
Apache License 2.0
79 stars 79 forks source link

SUBMODULE for restricting public ip of sql #46

Closed ankiclockwise closed 3 years ago

ankiclockwise commented 3 years ago

main.tf module "org-policy-sql-restrict-public-ip" { source = "../../" policy_for = var.policy_for organization_id = var.organization_id folder_id = var.folder_id project_id = var.project_id constraint = "constraints/sql.restrictPublicIp" policy_type = "list" exclude_folders = var.exclude_folders exclude_projects = var.exclude_projects }

README EXAMPLE:

module "org-policy-sql-restrict-public-ip" { source = "terraform-google-modules/org-policy/google" version = "~> 3.0.2" constraint = "constraints/sql.restrictPublicIp" policy_type = "list" enforce = true policy_for = "folder" folder_id = "folders/" }

morgante commented 3 years ago

What is your issue / question?