Skip to content

Commit

Permalink
A
Browse files Browse the repository at this point in the history
  • Loading branch information
vallard committed Aug 3, 2022
1 parent f852fb6 commit 4a24cb6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions 02/terraform/iam/iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,16 @@ data "aws_iam_policy_document" "iamPassRole" {
"iam:CreateInstanceProfile",
"iam:CreateOpenIDConnectProvider",
"iam:DeleteOpenIDConnectProvider",
"iam:ListAttachedRolePolicies"
"iam:ListAttachedRolePolicies",
"iam:DeleteServiceLinkedRole",
"iam:GetServiceLinkedRoleDeletionStatus",
]
resources = [
"arn:aws:iam::${data.aws_caller_identity.current.account_id}:role/*",
"arn:aws:iam::${data.aws_caller_identity.current.account_id}:oidc-provider/oidc.eks.us-west-2.amazonaws.com",
"arn:aws:iam::${data.aws_caller_identity.current.account_id}:oidc-provider/oidc.eks.us-west-2.amazonaws.com/*",
"arn:aws:ssm:*"
"arn:aws:ssm:*",
"arn:aws:iam::${data.aws_caller_identity.current.account_id}:role/aws-service-role/opensearchservice.amazonaws.com/AWSServiceRoleForAmazonOpenSearchService"
]
}
}
Expand Down

0 comments on commit 4a24cb6

Please sign in to comment.