Skip to content

Commit

Permalink
Rename the Resource
Browse files Browse the repository at this point in the history
  • Loading branch information
harichintala1 committed Aug 21, 2023
1 parent fd9159e commit c988ad5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -303,12 +303,12 @@ resource "aws_iam_role_policy_attachment" "redshift-admin" {
policy_arn = data.aws_iam_policy.AmazonRedshiftFullAccess.arn
}

resource "aws_iam_role_policy_attachment" "instance-core-for-ssm" {
resource "aws_iam_role_policy_attachment" "ec2-ssm-core" {
role = aws_iam_role.kinesis-agent-instance-role.name
policy_arn = "arn:aws:iam::aws:policy/AmazonSSMManagedInstanceCore"
}

resource "aws_iam_role_policy_attachment" "ec2-role-for-ssm" {
resource "aws_iam_role_policy_attachment" "ec2-ssm" {
role = aws_iam_role.kinesis-agent-instance-role.name
policy_arn = "arn:aws:iam::aws:policy/service-role/AmazonEC2RoleforSSM"
}
Expand Down

0 comments on commit c988ad5

Please sign in to comment.