This Transform module is used for creating Security Policy in Google Cloud Armor.
Name | Version |
---|---|
n/a |
Name |
---|
google_compute_security_policy |
Name | Description | Type | Default | Required |
---|---|---|---|---|
name | Name of the WAF policy. | any |
n/a | yes |
project_id | Project ID of the project in which WAF policy needs to be created. | any |
n/a | yes |
env | Name of the Environment | string |
"" |
no |
prefix | Prefix of name of resource. | string |
"" |
no |
rules | List of Map of rules to be created in the Policy. | list(object( |
[] |
no |
Name | Description |
---|---|
id | This is id of the Compute Security Policy. |
name | This is name of the Compute Security Policy. |
self_link | This is self_link of the Compute Security Policy. |
You can run the example in example folder after specifying project_id
in variables.tf
.