Skip to content

Commit 98acd0c

Browse files
fix: added a helper doc to the DA input service_map (#290)
1 parent b5de075 commit 98acd0c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ You need the following permissions to run this module.
113113
| <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 |
114114
| <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 |
115115
| <a name="input_prefix"></a> [prefix](#input\_prefix) | Prefix for new CBR zones and rules. | `string` | `null` | no |
116-
| <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 |
116+
| <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 |
117117
| <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 |
118118
| <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 |
119119

solutions/fully-configurable/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ variable "ibmcloud_api_key" {
1313
##############################################################################
1414

1515
variable "service_map" {
16-
description = "Map of unique service pairs and their authorization config."
16+
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)"
1717
type = map(object({
1818
source_service_name = string
1919
target_service_name = string

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ variable "prefix" {
99
}
1010

1111
variable "service_map" {
12-
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)"
12+
description = "Map of unique service pairs and their authorization config."
1313
type = map(object({
1414
source_service_name = string
1515
target_service_name = string

0 commit comments

Comments
 (0)