Skip to content

Commit

Permalink
Adding policy and permission for SSM to connect to EC2
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguel Elhaiek committed Apr 1, 2024
1 parent 758d8e1 commit 5850187
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ resource "aws_iam_role" "ssm_role" {

resource "aws_iam_role_policy_attachment" "ssm_policy_attachment" {
role = aws_iam_role.ssm_role.name
policy_arn = "arn:aws:iam::aws:policy/service-role/AmazonSSMManagedInstanceCore"
policy_arn = "arn:aws:iam::aws:policy/AmazonSSMManagedInstanceCore"
}

resource "aws_iam_instance_profile" "ssm_instance_profile" {
Expand Down

0 comments on commit 5850187

Please sign in to comment.