Skip to content

Commit 6f9b280

Browse files
committed
add missing skip_iam_authorization_policy
1 parent 7997a69 commit 6f9b280

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

ibm_catalog.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,9 @@
171171
}
172172
]
173173
},
174+
{
175+
"key": "skip_iam_authorization_policy"
176+
},
174177
{
175178
"key": "iam_engine_enabled"
176179
},

solutions/standard/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ module "secrets_manager" {
191191
existing_en_instance_crn = var.existing_event_notifications_instance_crn
192192
skip_en_iam_authorization_policy = var.skip_event_notifications_iam_authorization_policy
193193
cbr_rules = var.cbr_rules
194+
skip_iam_authorization_policy = var.skip_iam_authorization_policy
194195
}
195196

196197
# Configure an IBM Secrets Manager IAM credentials engine for an existing IBM Secrets Manager instance.

solutions/standard/variables.tf

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,15 +154,21 @@ variable "private_cert_engine_config_template_name" {
154154
# IAM engine config
155155
########################################################################################################################
156156

157+
variable "skip_iam_authorization_policy" {
158+
type = bool
159+
description = "Whether to skip the creation of the IAM authorization policies required to enable the IAM credentials engine. If set to false, policies will be created that grants the Secrets Manager instance 'Operator' access to the IAM identity service, and 'Groups Service Member Manage' access to the IAM groups service."
160+
default = false
161+
}
162+
157163
variable "iam_engine_enabled" {
158164
type = bool
159-
description = "Set this to true to to configure a Secrets Manager IAM credentials engine. If set to false, no IAM engine will be configured for your instance."
165+
description = "(LEGACY - recommend to use `skip_iam_authorization_policy` instead). Set this to true to to configure a Secrets Manager IAM credentials engine. If set to false, no IAM engine will be configured for your instance."
160166
default = false
161167
}
162168

163169
variable "iam_engine_name" {
164170
type = string
165-
description = "The name of the IAM engine used to configure a Secrets Manager IAM credentials engine. If the prefix input variable is passed it is attached before the value in the format of '<prefix>-value'."
171+
description = "(LEGACY - recommend to use `skip_iam_authorization_policy` instead). The name of the IAM engine used to configure a Secrets Manager IAM credentials engine. If the prefix input variable is passed it is attached before the value in the format of '<prefix>-value'."
166172
default = "iam-engine"
167173
}
168174

0 commit comments

Comments
 (0)