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 @@ -34,6 +34,7 @@ resource "ibm_iam_authorization_policy" "kms_policy" {
3434 target_service_name = local. kms_service
3535 target_resource_instance_id = var. existing_kms_instance_guid
3636 roles = [" Reader" ]
37+ description = " Allow all MongoDB instances in the resource group ${ var . resource_group_id } to read from the ${ local . kms_service } instance GUID ${ var . existing_kms_instance_guid } "
3738}
3839
3940# workaround for https://github.com/IBM-Cloud/terraform-provider-ibm/issues/4478
Original file line number Diff line number Diff line change 256256 "required" : true ,
257257 "source" : [
258258 " ibm_database.mongodb.resource_group_id" ,
259+ " ibm_iam_authorization_policy.kms_policy.description" ,
259260 " ibm_iam_authorization_policy.kms_policy.source_resource_group_id"
260261 ],
261262 "pos" : {
447448 },
448449 "pos" : {
449450 "filename" : " main.tf" ,
450- "line" : 46
451+ "line" : 47
451452 }
452453 },
453454 "ibm_iam_authorization_policy.kms_policy" : {
456457 "name" : " kms_policy" ,
457458 "attributes" : {
458459 "count" : " kms_encryption_enabled" ,
460+ "description" : " resource_group_id" ,
459461 "source_resource_group_id" : " resource_group_id" ,
460462 "target_resource_instance_id" : " existing_kms_instance_guid"
461463 },
479481 },
480482 "pos" : {
481483 "filename" : " main.tf" ,
482- "line" : 181
484+ "line" : 182
483485 }
484486 },
485487 "ibm_resource_tag.mongodb_tag" : {
495497 },
496498 "pos" : {
497499 "filename" : " main.tf" ,
498- "line" : 130
500+ "line" : 131
499501 }
500502 },
501503 "time_sleep.wait_for_authorization_policy" : {
507509 },
508510 "pos" : {
509511 "filename" : " main.tf" ,
510- "line" : 40
512+ "line" : 41
511513 }
512514 }
513515 },
527529 },
528530 "pos" : {
529531 "filename" : " main.tf" ,
530- "line" : 209
532+ "line" : 210
531533 }
532534 }
533535 },
606608 },
607609 "pos" : {
608610 "filename" : " main.tf" ,
609- "line" : 141
611+ "line" : 142
610612 }
611613 }
612614 }
You can’t perform that action at this time.
0 commit comments