Creates a zone for Context Based Restrictions
module "ibm_cbr" "zone" {
source = "terraform-ibm-modules/cbr/ibm//modules/cbr-zone-module"
version = "X.X.X" # Replace "X.X.X" with a release version to lock into a specific release
name = "zone_for_pg_access"
account_id = "defc0df06b644a9cabc6e44f55b3880s"
zone_description = "Zone created from terraform"
addresses = [{type = "vpc",value = "vpc_crn"}]
}
No modules.
Name |
Description |
Type |
Default |
Required |
account_id |
(Optional, String) The id of the account owning this zone |
string |
null |
no |
addresses |
(List) The list of addresses in the zone |
list(object({ type = optional(string) value = optional(string) ref = optional(object({ account_id = string location = optional(string) service_instance = optional(string) service_name = optional(string) service_type = optional(string) })) })) |
[] |
no |
excluded_addresses |
(Optional, List) The list of excluded addresses in the zone |
list(object({ type = optional(string) value = optional(string) })) |
[] |
no |
name |
(Optional, String) The name of the zone |
string |
null |
no |
zone_description |
(Optional, String) The description of the zone |
string |
null |
no |