Skip to content

Commit

Permalink
fix: Ensure that var.create is tied to all resources correctly (#2308)
Browse files Browse the repository at this point in the history
  • Loading branch information
bryantbiggs authored Nov 23, 2022
1 parent 000dd2c commit 3fb28b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/karpenter/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ data "aws_iam_policy_document" "irsa" {
}

resource "aws_iam_policy" "irsa" {
count = var.create_irsa ? 1 : 0
count = local.create_irsa ? 1 : 0

name_prefix = "${local.irsa_name}-"
path = var.irsa_path
Expand Down

0 comments on commit 3fb28b3

Please sign in to comment.