Skip to content

Commit

Permalink
fix: add a description to the auth policy created by this module (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
Khuzaima05 authored Sep 8, 2023
1 parent 0cd7867 commit 9ea80fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ resource "ibm_iam_authorization_policy" "kms_policy" {
target_service_name = local.kms_service
target_resource_instance_id = var.existing_kms_instance_guid
roles = ["Reader"]
description = "Allow all Event Streams instances in the resource group ${var.resource_group_id} to read from the ${local.kms_service} instance GUID ${var.existing_kms_instance_guid}"
}

##############################################################################
Expand Down
4 changes: 3 additions & 1 deletion module-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@
"description": "The resource group ID where the Event Streams instance will be created.",
"required": true,
"source": [
"ibm_iam_authorization_policy.kms_policy.description",
"ibm_iam_authorization_policy.kms_policy.source_resource_group_id",
"ibm_resource_instance.es_instance.resource_group_id"
],
Expand Down Expand Up @@ -350,6 +351,7 @@
"name": "kms_policy",
"attributes": {
"count": "kms_encryption_enabled",
"description": "resource_group_id",
"source_resource_group_id": "resource_group_id",
"target_resource_instance_id": "existing_kms_instance_guid"
},
Expand Down Expand Up @@ -470,7 +472,7 @@
},
"pos": {
"filename": "main.tf",
"line": 100
"line": 101
}
}
}
Expand Down

0 comments on commit 9ea80fb

Please sign in to comment.