Skip to content
Merged
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ You need the following permissions to run this module.
| <a name="input_cbr_target_service_details"></a> [cbr\_target\_service\_details](#input\_cbr\_target\_service\_details) | 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> | `[]` | no |
| <a name="input_enable_cbr"></a> [enable\_cbr](#input\_enable\_cbr) | Set to true to enable creation of Context Based restrictions (CBR) for services defined in var.cbr\_target\_service\_details. When true, var.zone\_vpc\_crn\_list and var.zone\_service\_ref\_list must be provided to create and attach the required CBR zones. When false, no CBR zones or rules are created. | `bool` | `true` | no |
| <a name="input_prefix"></a> [prefix](#input\_prefix) | Prefix for new CBR zones and rules. | `string` | `null` | no |
| <a name="input_service_map"></a> [service\_map](#input\_service\_map) | Map of unique service pairs and their authorization config. [Learn more](https://github.com/terraform-ibm-modules/terraform-ibm-s2s-auth/tree/main/solutions/fully-configurable/DA-complex-input-variables.md#service-map) | <pre>map(object({<br/> source_service_name = string<br/> target_service_name = string<br/> roles = list(string)<br/> description = optional(string, null)<br/> source_service_account_id = optional(string, null)<br/> source_resource_instance_id = optional(string, null)<br/> target_resource_instance_id = optional(string, null)<br/> source_resource_group_id = optional(string, null)<br/> target_resource_group_id = optional(string, null)<br/> }))</pre> | `{}` | no |
| <a name="input_service_map"></a> [service\_map](#input\_service\_map) | Map of unique service pairs and their authorization config. | <pre>map(object({<br/> source_service_name = string<br/> target_service_name = string<br/> roles = list(string)<br/> description = optional(string, null)<br/> source_service_account_id = optional(string, null)<br/> source_resource_instance_id = optional(string, null)<br/> target_resource_instance_id = optional(string, null)<br/> source_resource_group_id = optional(string, null)<br/> target_resource_group_id = optional(string, null)<br/> }))</pre> | `{}` | no |
| <a name="input_zone_service_ref_list"></a> [zone\_service\_ref\_list](#input\_zone\_service\_ref\_list) | Service reference for the zone creation. | <pre>map(object({<br/> service_ref_location = optional(list(string), [])<br/> }))</pre> | `{}` | no |
| <a name="input_zone_vpc_crn_list"></a> [zone\_vpc\_crn\_list](#input\_zone\_vpc\_crn\_list) | CRN of the VPC for the zones. | `list(string)` | `[]` | no |

Expand Down
2 changes: 1 addition & 1 deletion solutions/fully-configurable/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ variable "ibmcloud_api_key" {
##############################################################################

variable "service_map" {
description = "Map of unique service pairs and their authorization config."
description = "Map of unique service pairs and their authorization config. [Learn more](https://github.com/terraform-ibm-modules/terraform-ibm-s2s-auth/tree/main/solutions/fully-configurable/DA-complex-input-variables.md#service-map)"
type = map(object({
source_service_name = string
target_service_name = string
Expand Down
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ variable "prefix" {
}

variable "service_map" {
description = "Map of unique service pairs and their authorization config. [Learn more](https://github.com/terraform-ibm-modules/terraform-ibm-s2s-auth/tree/main/solutions/fully-configurable/DA-complex-input-variables.md#service-map)"
description = "Map of unique service pairs and their authorization config."
type = map(object({
source_service_name = string
target_service_name = string
Expand Down