Skip to content

Commit

Permalink
Updated fleet-manager policy (#6013)
Browse files Browse the repository at this point in the history
  • Loading branch information
sukeshreddyg authored Jan 17, 2024
1 parent cb19b1f commit 5258ad2
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions terraform/environments/bootstrap/delegate-access/policies.tf
Original file line number Diff line number Diff line change
Expand Up @@ -824,17 +824,11 @@ data "aws_iam_policy_document" "fleet-manager-document" {
effect = "Allow"
actions = [
"ssm:DescribeSessions",
"ec2:DescribeTags",
"ec2:DescribeInstances",
"ec2:DescribeTags"
]
resources = ["*"]
}
statement {
sid = "FleetManagerDeny"
effect = "Deny"
actions = [
"ssm:StartSession",
"ssm:ResumeSession"
"ssm-guiconnect:StartConnection",
"ssm-guiconnect:GetConnection",
"ssm:StartSession"
]
resources = ["*"]
}
Expand Down

0 comments on commit 5258ad2

Please sign in to comment.