Skip to content

Commit

Permalink
DSOS: grant athena access to instance-access and instance-management …
Browse files Browse the repository at this point in the history
…roles
  • Loading branch information
drobinson-moj committed Jun 17, 2024
1 parent 29234a6 commit 34927dc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions terraform/environments/bootstrap/single-sign-on/policies.tf
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,8 @@ data "aws_iam_policy_document" "instance-access-document" {
sid = "InstanceAccess"
effect = "Allow"
actions = [
"athena:StartQueryExecution",
"athena:StopQueryExecution",
"ec2:GetPasswordData",
"kms:Decrypt*",
"kms:Encrypt",
Expand Down Expand Up @@ -801,6 +803,8 @@ data "aws_iam_policy_document" "instance-management-document" {
effect = "Allow"
actions = [
"application-autoscaling:ListTagsForResource",
"athena:StartQueryExecution",
"athena:StopQueryExecution",
"autoscaling:StartInstanceRefresh",
"autoscaling:UpdateAutoScalingGroup",
"autoscaling:SetDesiredCapacity",
Expand Down

0 comments on commit 34927dc

Please sign in to comment.