Skip to content

Commit

Permalink
fix: fix issue with auth policy creation (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
jor2 authored Nov 24, 2023
1 parent 463b37e commit e97c67c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ resource "ibm_event_streams_topic" "es_topic" {
# Create IAM Authorization Policies to allow messagehub to access kms for the encryption key
resource "ibm_iam_authorization_policy" "kms_policy" {
count = var.kms_encryption_enabled == false || var.skip_iam_authorization_policy ? 0 : 1
depends_on = [ibm_resource_instance.es_instance]
source_service_name = "messagehub"
source_resource_group_id = var.resource_group_id
target_service_name = local.kms_service
Expand Down

0 comments on commit e97c67c

Please sign in to comment.