Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Jan 21, 2022
1 parent 2071708 commit ffdd793
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions role.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ locals {
resource "aws_iam_role" "role" {
count = var.create ? 1 : 0
description = "Lambda role for Dynamic Route53"
name = format("%v%v", local.lambda_name)
name = format("%v%v", local._prefixes["role"], local.lambda_name)
force_detach_policies = local._defaults["force_detach_policies"]
max_session_duration = var.max_session_duration
max_session_duration = local._defaults["max_session_duration"]
assume_role_policy = data.aws_iam_policy_document.lambda_assume.json

inline_policy = {
Expand Down

0 comments on commit ffdd793

Please sign in to comment.