Skip to content

Commit

Permalink
fix: Merge pull request #3 from schshmuel/fix-configuring-existing-role
Browse files Browse the repository at this point in the history
Fix configuring existing role bug (#2)
  • Loading branch information
fdmsantos authored Sep 20, 2023
2 parents 70fb9de + 1e039af commit 74a626b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iam.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
locals {
role_name = var.create && var.create_role ? coalesce(var.role_name, var.name, "*") : null
application_role_name = var.create_application_role ? coalesce(var.application_role_name, "${var.name}-application-role", "*") : null
application_role_name = coalesce(var.application_role_name, "${var.name}-application-role", "*")
create_application_role_policy = var.create && var.create_application_role_policy
add_backup_policies = local.enable_s3_backup && var.s3_backup_use_existing_role
add_kinesis_source_policy = var.create && var.create_role && local.is_kinesis_source && var.kinesis_source_use_existing_role
Expand Down

0 comments on commit 74a626b

Please sign in to comment.