Skip to content

Commit

Permalink
Merge pull request #38 from setheliot/dev
Browse files Browse the repository at this point in the history
fix error in session manager change
  • Loading branch information
setheliot authored Nov 13, 2024
2 parents 01d60a8 + b73a58b commit 8e960ff
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -102,29 +102,6 @@ module "eks" {
}
}

# Inline policy to allow SSM Session Manager access
resource "aws_iam_role_policy" "ssm_session_manager_policy" {
name = "ssm-session-manager-policy"
role = local.iam_role_name
policy = jsonencode({
Version = "2012-10-17"
Statement = [
{
Effect = "Allow"
Action = [
"ssmmessages:CreateControlChannel",
"ssmmessages:CreateDataChannel",
"ssmmessages:OpenControlChannel",
"ssmmessages:OpenDataChannel",
"s3:GetEncryptionConfiguration"
],
Resource = "*"
}
]
})
}


# Create VPC endpoints (Private Links) for SSM Session Manager access to nodes
resource "aws_security_group" "vpc_endpoint_sg" {
name = "vpc-endpoint-sg"
Expand Down

0 comments on commit 8e960ff

Please sign in to comment.