Skip to content

Commit

Permalink
update permissions #97
Browse files Browse the repository at this point in the history
  • Loading branch information
kunduso committed Oct 4, 2024
1 parent a69a31b commit 0a7ca79
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions deploy/code_deploy_role.tf
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,9 @@ data "aws_iam_policy_document" "codedeploy" {

]
resources = [
"*"
# "arn:aws:elasticloadbalancing:${var.region}:${data.aws_caller_identity.current.account_id}:loadbalancer/*",
# "arn:aws:elasticloadbalancing:${var.region}:${data.aws_caller_identity.current.account_id}:listener/*",
# "arn:aws:elasticloadbalancing:${var.region}:${data.aws_caller_identity.current.account_id}:targetgroup/*"
"arn:aws:elasticloadbalancing:${var.region}:${data.aws_caller_identity.current.account_id}:loadbalancer/*",
"arn:aws:elasticloadbalancing:${var.region}:${data.aws_caller_identity.current.account_id}:listener/*",
"arn:aws:elasticloadbalancing:${var.region}:${data.aws_caller_identity.current.account_id}:targetgroup/*"
]
}
statement {
Expand Down

0 comments on commit 0a7ca79

Please sign in to comment.