Skip to content

Commit

Permalink
resolve permission issue for vpc endpoint modification
Browse files Browse the repository at this point in the history
  • Loading branch information
alismx committed Nov 26, 2024
1 parent efbf2ef commit 4211d9f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions terraform/modules/oidc/_data.tf
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ data "aws_iam_policy_document" "resource_tags_update_actions" {
"ec2:RevokeSecurityGroupIngress",
"ec2:AssociateRouteTable",
"ec2:ModifyVpcAttribute",
"ec2:ModifyVpcEndpoint",
"ec2:CreateTags",
"elasticloadbalancing:AddTags",
"elasticloadbalancing:ModifyLoadBalancerAttributes",
Expand Down Expand Up @@ -275,6 +276,7 @@ data "aws_iam_policy_document" "resource_tags_update_actions" {
resources = [
"arn:aws:appmesh:${var.region}:${data.aws_caller_identity.current.account_id}:mesh/${local.project_owner_workspace}",
"arn:aws:ec2:${var.region}:${data.aws_caller_identity.current.account_id}:vpc/${local.vpc_id}",
"arn:aws:ec2:${var.region}:${data.aws_caller_identity.current.account_id}:vpc-endpoint/*",
"arn:aws:ec2:${var.region}:${data.aws_caller_identity.current.account_id}:security-group/*",
"arn:aws:ec2:${var.region}:${data.aws_caller_identity.current.account_id}:subnet/*",
"arn:aws:ec2:${var.region}:${data.aws_caller_identity.current.account_id}:route-table/*",
Expand Down

0 comments on commit 4211d9f

Please sign in to comment.