File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ resource "ibm_iam_authorization_policy" "kms_policy" {
3030 target_service_name = local. kms_service
3131 target_resource_instance_id = var. existing_kms_instance_guid
3232 roles = [" Reader" ]
33+ description = " Allow all RabbitMQ instances in the resource group ${ var . resource_group_id } to read from the ${ local . kms_service } instance GUID ${ var . existing_kms_instance_guid } "
3334}
3435
3536# workaround for https://github.com/IBM-Cloud/terraform-provider-ibm/issues/4478
Original file line number Diff line number Diff line change 244244 "required" : true ,
245245 "source" : [
246246 " ibm_database.rabbitmq_database.resource_group_id" ,
247+ " ibm_iam_authorization_policy.kms_policy.description" ,
247248 " ibm_iam_authorization_policy.kms_policy.source_resource_group_id"
248249 ],
249250 "pos" : {
434435 },
435436 "pos" : {
436437 "filename" : " main.tf" ,
437- "line" : 43
438+ "line" : 44
438439 }
439440 },
440441 "ibm_iam_authorization_policy.kms_policy" : {
443444 "name" : " kms_policy" ,
444445 "attributes" : {
445446 "count" : " kms_encryption_enabled" ,
447+ "description" : " resource_group_id" ,
446448 "source_resource_group_id" : " resource_group_id" ,
447449 "target_resource_instance_id" : " existing_kms_instance_guid"
448450 },
466468 },
467469 "pos" : {
468470 "filename" : " main.tf" ,
469- "line" : 178
471+ "line" : 179
470472 }
471473 },
472474 "ibm_resource_tag.rabbitmq_tag" : {
482484 },
483485 "pos" : {
484486 "filename" : " main.tf" ,
485- "line" : 130
487+ "line" : 131
486488 }
487489 },
488490 "time_sleep.wait_for_authorization_policy" : {
494496 },
495497 "pos" : {
496498 "filename" : " main.tf" ,
497- "line" : 36
499+ "line" : 37
498500 }
499501 }
500502 },
514516 },
515517 "pos" : {
516518 "filename" : " main.tf" ,
517- "line" : 206
519+ "line" : 207
518520 }
519521 }
520522 },
592594 },
593595 "pos" : {
594596 "filename" : " main.tf" ,
595- "line" : 140
597+ "line" : 141
596598 }
597599 }
598600 }
You can’t perform that action at this time.
0 commit comments