Skip to content

Commit 70aec00

Browse files
authored
fix: add a description to auth policy created by this module (#432)
1 parent 114c2a7 commit 70aec00

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ resource "ibm_iam_authorization_policy" "policy" {
8989
target_service_name = local.kms_service
9090
target_resource_instance_id = var.existing_kms_instance_guid
9191
roles = ["Reader"]
92+
description = "Allow the COS instance with GUID ${local.cos_instance_guid} reader access to the ${local.kms_service} instance GUID ${var.existing_kms_instance_guid}"
9293
}
9394

9495
# Create random string which is added to COS bucket name as a suffix

module-metadata.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@
623623
},
624624
"pos": {
625625
"filename": "main.tf",
626-
"line": 108
626+
"line": 109
627627
}
628628
},
629629
"ibm_cos_bucket.cos_bucket1": {
@@ -643,7 +643,7 @@
643643
},
644644
"pos": {
645645
"filename": "main.tf",
646-
"line": 185
646+
"line": 186
647647
}
648648
},
649649
"ibm_iam_authorization_policy.policy": {
@@ -727,7 +727,7 @@
727727
},
728728
"pos": {
729729
"filename": "main.tf",
730-
"line": 95
730+
"line": 96
731731
}
732732
},
733733
"time_sleep.wait_for_authorization_policy": {
@@ -820,7 +820,7 @@
820820
},
821821
"pos": {
822822
"filename": "main.tf",
823-
"line": 268
823+
"line": 269
824824
}
825825
},
826826
"instance_cbr_rule": {
@@ -898,7 +898,7 @@
898898
},
899899
"pos": {
900900
"filename": "main.tf",
901-
"line": 303
901+
"line": 304
902902
}
903903
}
904904
}

0 commit comments

Comments
 (0)