You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| <aname="input_addresses"></a> [addresses](#input\_addresses)| (List) The list of addresses in the zone | <pre>list(object({<br> type = optional(string)<br> value = optional(string)<br> ref = optional(object({<br> account_id = string<br> location = optional(string)<br> service_instance = optional(string)<br> service_name = optional(string)<br> service_type = optional(string)<br> }))<br> }))</pre> |`[]`| no |
126
+
| <aname="input_addresses"></a> [addresses](#input\_addresses)| (List) The list of addresses in the zone | <pre>list(object({<br/> type = optional(string)<br/> value = optional(string)<br/> ref = optional(object({<br/> account_id = string<br/> location = optional(string)<br/> service_instance = optional(string)<br/> service_name = optional(string)<br/> service_type = optional(string)<br/> }))<br/> }))</pre> |`[]`| no |
127
127
| <aname="input_enforcement_mode"></a> [enforcement\_mode](#input\_enforcement\_mode)| (String) The rule enforcement mode |`string`|`"report"`| no |
128
-
| <aname="input_excluded_addresses"></a> [excluded\_addresses](#input\_excluded\_addresses)| (Optional, List) The list of excluded addresses in the zone | <pre>list(object({<br> type = optional(string)<br> value = optional(string)<br> }))</pre> |`[]`| no |
128
+
| <aname="input_excluded_addresses"></a> [excluded\_addresses](#input\_excluded\_addresses)| (Optional, List) The list of excluded addresses in the zone | <pre>list(object({<br/> type = optional(string)<br/> value = optional(string)<br/> }))</pre> |`[]`| no |
129
129
| <aname="input_name"></a> [name](#input\_name)| (Optional, String) The name of the zone |`string`|`null`| no |
130
-
| <aname="input_operations"></a> [operations](#input\_operations)| (Optional, List) The operations this rule applies to | <pre>list(object({<br> api_types = list(object({<br> api_type_id = string<br> }))<br> }))</pre> | <pre>[<br> {<br> "api_types": [<br> {<br> "api_type_id": "crn:v1:bluemix:public:context-based-restrictions::::api-type:"<br> }<br> ]<br> }<br>]</pre> | no |
131
-
| <aname="input_resources"></a> [resources](#input\_resources)| (Optional, List) The resources this rule apply to | <pre>list(object({<br> attributes = list(object({<br> name = string<br> value = string<br> operator = optional(string)<br> }))<br> tags = optional(list(object({ #These access tags should match to the target service access tags for the CBR rules to work<br> name = string<br> value = string<br> operator = optional(string)<br> })))<br> }))</pre> |`[]`| no |
132
-
| <aname="input_rule_contexts"></a> [rule\_contexts](#input\_rule\_contexts)| (List) The contexts the rule applies to | <pre>list(object({<br> attributes = list(object({<br> name = string<br> value = string<br> }))<br> }))</pre> | <pre>[<br> {<br> "attributes": [<br> {<br> "name": "va",<br> "value": "va"<br> }<br> ]<br> }<br>]</pre> | no |
130
+
| <aname="input_operations"></a> [operations](#input\_operations)| (Optional, List) The operations this rule applies to | <pre>list(object({<br/> api_types = list(object({<br/> api_type_id = string<br/> }))<br/> }))</pre> | <pre>[<br/> {<br/> "api_types": [<br/> {<br/> "api_type_id": "crn:v1:bluemix:public:context-based-restrictions::::api-type:"<br/> }<br/> ]<br/> }<br/>]</pre> | no |
131
+
| <aname="input_resources"></a> [resources](#input\_resources)| (Optional, List) The resources this rule apply to | <pre>list(object({<br/> attributes = list(object({<br/> name = string<br/> value = string<br/> operator = optional(string)<br/> }))<br/> tags = optional(list(object({ #These access tags should match to the target service access tags for the CBR rules to work<br/> name = string<br/> value = string<br/> operator = optional(string)<br/> })))<br/> }))</pre> |`[]`| no |
132
+
| <aname="input_rule_contexts"></a> [rule\_contexts](#input\_rule\_contexts)| (List) The contexts the rule applies to | <pre>list(object({<br/> attributes = list(object({<br/> name = string<br/> value = string<br/> }))<br/> }))</pre> | <pre>[<br/> {<br/> "attributes": [<br/> {<br/> "name": "va",<br/> "value": "va"<br/> }<br/> ]<br/> }<br/>]</pre> | no |
133
133
| <aname="input_rule_description"></a> [rule\_description](#input\_rule\_description)| (Optional, String) The description of the rule |`string`|`null`| no |
134
134
| <aname="input_zone_description"></a> [zone\_description](#input\_zone\_description)| (Optional, String) The description of the zone |`string`|`null`| no |
| <aname="input_enforcement_mode"></a> [enforcement\_mode](#input\_enforcement\_mode)| (String) The rule enforcement mode |`string`|`"report"`| no |
75
-
| <aname="input_operations"></a> [operations](#input\_operations)| (Optional, List) The operations this rule applies to, by default it will protect all of the service and platform APIs the target service supports. | <pre>list(object({<br> api_types = list(object({<br> api_type_id = string<br> }))<br> }))</pre> | <pre>[<br> {<br> "api_types": [<br> {<br> "api_type_id": "crn:v1:bluemix:public:context-based-restrictions::::api-type:"<br> }<br> ]<br> }<br>]</pre> | no |
76
-
| <aname="input_resources"></a> [resources](#input\_resources)| (List) The resources this rule apply to | <pre>list(object({<br> attributes = optional(list(object({<br> name = string<br> value = string<br> operator = optional(string)<br> })))<br> tags = optional(list(object({<br> name = string<br> value = string<br> operator = optional(string)<br> })))<br> }))</pre> | n/a | yes |
77
-
| <aname="input_rule_contexts"></a> [rule\_contexts](#input\_rule\_contexts)| (List) The contexts the rule applies to | <pre>list(object({<br> attributes = optional(list(object({<br> name = string<br> value = string<br> })))<br> }))</pre> |`[]`| no |
75
+
| <aname="input_operations"></a> [operations](#input\_operations)| (Optional, List) The operations this rule applies to, by default it will protect all of the service and platform APIs the target service supports. | <pre>list(object({<br/> api_types = list(object({<br/> api_type_id = string<br/> }))<br/> }))</pre> | <pre>[<br/> {<br/> "api_types": [<br/> {<br/> "api_type_id": "crn:v1:bluemix:public:context-based-restrictions::::api-type:"<br/> }<br/> ]<br/> }<br/>]</pre> | no |
76
+
| <aname="input_resources"></a> [resources](#input\_resources)| (List) The resources this rule apply to | <pre>list(object({<br/> attributes = optional(list(object({<br/> name = string<br/> value = string<br/> operator = optional(string)<br/> })))<br/> tags = optional(list(object({<br/> name = string<br/> value = string<br/> operator = optional(string)<br/> })))<br/> }))</pre> | n/a | yes |
77
+
| <aname="input_rule_contexts"></a> [rule\_contexts](#input\_rule\_contexts)| (List) The contexts the rule applies to | <pre>list(object({<br/> attributes = optional(list(object({<br/> name = string<br/> value = string<br/> })))<br/> }))</pre> |`[]`| no |
78
78
| <aname="input_rule_description"></a> [rule\_description](#input\_rule\_description)| (Optional, String) The description of the rule |`string`|`null`| no |
| <aname="input_endpoints"></a> [endpoints](#input\_endpoints)| List specific endpoint types for target services, valid values for endpoints are 'public', 'private' or 'direct' |`list(string)`| <pre>[<br> "private"<br>]</pre> | no |
59
+
| <aname="input_endpoints"></a> [endpoints](#input\_endpoints)| List specific endpoint types for target services, valid values for endpoints are 'public', 'private' or 'direct' |`list(string)`| <pre>[<br/> "private"<br/>]</pre> | no |
60
60
| <aname="input_prefix"></a> [prefix](#input\_prefix)| Prefix to append to all vpc\_zone\_list, service\_ref\_zone\_list and cbr\_rule\_description created by this submodule |`string`|`"serviceprofile"`| no |
61
-
| <aname="input_target_service_details"></a> [target\_service\_details](#input\_target\_service\_details)| (String) Details of the target service for which the rule has to be created | <pre>list(object({<br> target_service_name = string<br> target_rg = optional(string)<br> enforcement_mode = string<br> tags = optional(list(string))<br> }))</pre> | n/a | yes |
62
-
| <aname="input_zone_service_ref_list"></a> [zone\_service\_ref\_list](#input\_zone\_service\_ref\_list)| Provide a valid service reference with the location where the context-based restriction zones are created. If no value is specified for `serviceRef_location`, the zones are not scoped to any location. | <pre>map(object({<br> serviceRef_location = optional(list(string), [])<br> }))</pre> | n/a | yes |
61
+
| <aname="input_target_service_details"></a> [target\_service\_details](#input\_target\_service\_details)| (String) Details of the target service for which the rule has to be created | <pre>list(object({<br/> target_service_name = string<br/> target_rg = optional(string)<br/> enforcement_mode = string<br/> tags = optional(list(string))<br/> }))</pre> | n/a | yes |
62
+
| <aname="input_zone_service_ref_list"></a> [zone\_service\_ref\_list](#input\_zone\_service\_ref\_list)| Provide a valid service reference with the location where the context-based restriction zones are created. If no value is specified for `serviceRef_location`, the zones are not scoped to any location. | <pre>map(object({<br/> serviceRef_location = optional(list(string), [])<br/> }))</pre> | n/a | yes |
63
63
| <aname="input_zone_vpc_crn_list"></a> [zone\_vpc\_crn\_list](#input\_zone\_vpc\_crn\_list)| (List) VPC CRN for the zones |`list(string)`|`[]`| no |
| <aname="input_account_id"></a> [account\_id](#input\_account\_id)| (Optional, String) The id of the account owning this zone |`string`|`null`| no |
54
-
| <aname="input_addresses"></a> [addresses](#input\_addresses)| (List) The list of addresses in the zone | <pre>list(object({<br> type = optional(string)<br> value = optional(string)<br> ref = optional(object({<br> account_id = string<br> location = optional(string)<br> service_instance = optional(string)<br> service_name = optional(string)<br> service_type = optional(string)<br> }))<br> }))</pre> |`[]`| no |
55
-
| <aname="input_excluded_addresses"></a> [excluded\_addresses](#input\_excluded\_addresses)| (Optional, List) The list of excluded addresses in the zone | <pre>list(object({<br> type = optional(string)<br> value = optional(string)<br> }))</pre> |`[]`| no |
54
+
| <aname="input_addresses"></a> [addresses](#input\_addresses)| (List) The list of addresses in the zone | <pre>list(object({<br/> type = optional(string)<br/> value = optional(string)<br/> ref = optional(object({<br/> account_id = string<br/> location = optional(string)<br/> service_instance = optional(string)<br/> service_name = optional(string)<br/> service_type = optional(string)<br/> }))<br/> }))</pre> |`[]`| no |
55
+
| <aname="input_excluded_addresses"></a> [excluded\_addresses](#input\_excluded\_addresses)| (Optional, List) The list of excluded addresses in the zone | <pre>list(object({<br/> type = optional(string)<br/> value = optional(string)<br/> }))</pre> |`[]`| no |
56
56
| <aname="input_existing_zone_id"></a> [existing\_zone\_id](#input\_existing\_zone\_id)| Provide an existing CBR zone ID |`string`|`null`| no |
57
57
| <aname="input_name"></a> [name](#input\_name)| (Optional, String) The name of the zone |`string`|`null`| no |
58
58
| <aname="input_use_existing_cbr_zone"></a> [use\_existing\_cbr\_zone](#input\_use\_existing\_cbr\_zone)| Whether to update CBR zone using existing zone ID. This allows the inclusion of one or more addresses in an existing zone |`bool`|`false`| no |
0 commit comments