Skip to content

Commit

Permalink
update lambda role
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Apr 22, 2023
1 parent 5fd7242 commit 65dcd06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion route53-zone-association/lambda-role/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ data "aws_iam_policy_document" "assume_role" {
actions = ["sts:AssumeRole"]
principals {
type = "AWS"
identifiers = ["*"]
identifiers = [format("arn:%v:iam::*:role/r-inf-dynamic-route53-*", data.aws_arn.current.partition)]
}
condition {
test = "StringEquals"
Expand Down

0 comments on commit 65dcd06

Please sign in to comment.