We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8bde3c commit da56fc5Copy full SHA for da56fc5
iam.tf
@@ -12,7 +12,7 @@ locals {
12
# for #83 that will allow one to import resources without receiving an error from coalesce.
13
# @see https://github.com/terraform-aws-modules/terraform-aws-lambda/issues/83
14
role_name = local.create_role ? coalesce(var.role_name, var.function_name, "*") : null
15
- policy_name = coalesce(var.policy_name, local.role_name)
+ policy_name = coalesce(var.policy_name, local.role_name, "*")
16
17
# IAM Role trusted entities is a list of any (allow strings (services) and maps (type+identifiers))
18
trusted_entities_services = distinct(compact(concat(
0 commit comments