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 .secrets.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"files": "go.sum|^.secrets.baseline$",
"lines": null
},
"generated_at": "2025-10-04T04:39:36Z",
"generated_at": "2025-10-05T04:39:36Z",
"plugins_used": [
{
"name": "AWSKeyDetector"
Expand Down
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ resource "ibm_iam_authorization_policy" "kms_policy" {
count = local.create_kms_auth_policy
source_service_name = "messages-for-rabbitmq"
source_resource_group_id = var.resource_group_id
roles = ["Reader"]
roles = ["Reader", "Authorization Delegator"] # Authorization Delegator role required for backup encryption key
description = "Allow all RabbitMQ instances in the resource group ${var.resource_group_id} to read the ${local.kms_service} key ${local.kms_key_id} from the instance GUID ${local.kms_key_instance_guid}"
resource_attributes {
name = "serviceName"
Expand Down Expand Up @@ -110,7 +110,7 @@ resource "ibm_iam_authorization_policy" "backup_kms_policy" {
count = local.create_backup_kms_auth_policy
source_service_name = "messages-for-rabbitmq"
source_resource_group_id = var.resource_group_id
roles = ["Reader"]
roles = ["Reader", "Authorization Delegator"] # Authorization Delegator role required for backup encryption key
description = "Allow all RabbitMQ instances in the Resource Group ${var.resource_group_id} to read the ${local.backup_kms_service} key ${local.backup_kms_key_id} from the instance GUID ${local.backup_kms_key_instance_guid}"
resource_attributes {
name = "serviceName"
Expand Down
4 changes: 2 additions & 2 deletions solutions/fully-configurable/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ resource "ibm_iam_authorization_policy" "kms_policy" {
source_service_account = local.account_id
source_service_name = "messages-for-rabbitmq"
source_resource_group_id = module.resource_group.resource_group_id
roles = ["Reader"]
roles = ["Reader", "Authorization Delegator"] # Authorization Delegator role required for backup encryption key
description = "Allow all RabbitMQ instances in the resource group ${module.resource_group.resource_group_id} in the account ${local.account_id} to read the ${local.kms_service} key ${local.kms_key_id} from the instance GUID ${local.kms_instance_guid}"
resource_attributes {
name = "serviceName"
Expand Down Expand Up @@ -168,7 +168,7 @@ resource "ibm_iam_authorization_policy" "backup_kms_policy" {
source_service_account = local.account_id
source_service_name = "messages-for-rabbitmq"
source_resource_group_id = module.resource_group.resource_group_id
roles = ["Reader"]
roles = ["Reader", "Authorization Delegator"] # Authorization Delegator role required for backup encryption key
description = "Allow all RabbitMQ instances in the resource group ${module.resource_group.resource_group_id} in the account ${local.account_id} to read the ${local.backup_kms_service} key ${local.backup_kms_key_id} from the instance GUID ${local.backup_kms_instance_guid}"
resource_attributes {
name = "serviceName"
Expand Down