diff --git a/README.md b/README.md index 14ab035..69e5bcc 100644 --- a/README.md +++ b/README.md @@ -113,7 +113,7 @@ You need the following permissions to run this module. | [cbr\_target\_service\_details](#input\_cbr\_target\_service\_details) | Details of the target service for which the rule has to be created. |
list(object({
target_service_name = string
target_rg = optional(string)
enforcement_mode = string
tags = optional(list(string))
})) | `[]` | no |
| [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 |
| [prefix](#input\_prefix) | Prefix for new CBR zones and rules. | `string` | `null` | no |
-| [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) | map(object({
source_service_name = string
target_service_name = string
roles = list(string)
description = optional(string, null)
source_service_account_id = optional(string, null)
source_resource_instance_id = optional(string, null)
target_resource_instance_id = optional(string, null)
source_resource_group_id = optional(string, null)
target_resource_group_id = optional(string, null)
})) | `{}` | no |
+| [service\_map](#input\_service\_map) | Map of unique service pairs and their authorization config. | map(object({
source_service_name = string
target_service_name = string
roles = list(string)
description = optional(string, null)
source_service_account_id = optional(string, null)
source_resource_instance_id = optional(string, null)
target_resource_instance_id = optional(string, null)
source_resource_group_id = optional(string, null)
target_resource_group_id = optional(string, null)
})) | `{}` | no |
| [zone\_service\_ref\_list](#input\_zone\_service\_ref\_list) | Service reference for the zone creation. | map(object({
service_ref_location = optional(list(string), [])
})) | `{}` | no |
| [zone\_vpc\_crn\_list](#input\_zone\_vpc\_crn\_list) | CRN of the VPC for the zones. | `list(string)` | `[]` | no |
diff --git a/solutions/fully-configurable/variables.tf b/solutions/fully-configurable/variables.tf
index e699e36..1ee5040 100644
--- a/solutions/fully-configurable/variables.tf
+++ b/solutions/fully-configurable/variables.tf
@@ -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
diff --git a/variables.tf b/variables.tf
index c432b1e..e75e0f0 100644
--- a/variables.tf
+++ b/variables.tf
@@ -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