Skip to content

Commit

Permalink
Update main.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
candonov authored Aug 7, 2024
1 parent 4d08172 commit 9916000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ module "lambda" {
role_permissions_boundary_arn = lookup(var.lambda, "role_permissions_boundary_arn", null)
role_description = try(var.lambda.role_description, "IRSA for Lambda controller for ACK")
role_policies = lookup(var.lambda, "role_policies", {
AWSlambdaPolicy = var.enable_lambda ? aws_iam_policy.lambdapolicy[0].arn : null
policy = var.enable_lambda ? aws_iam_policy.lambdapolicy[0].arn : null
})
create_policy = try(var.lambda.create_policy, false)

Expand Down

0 comments on commit 9916000

Please sign in to comment.