Skip to content

Commit

Permalink
2.198.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Avo Cado committed Nov 15, 2024
1 parent 3925c04 commit 4e8ce3a
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions aws_v2/modules/iam/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,14 @@ resource "aws_iam_role_policy" "instance_policy" {
],
"Resource": "arn:aws:iam::*:role/*CadoResponse*"
},
{
"Sid": "RequiredForStartup",
"Effect": "Allow",
"Action": [
"ec2:DescribeInstances"
],
"Resource": "*"
},
{
"Sid": "RequiredForSecretsManagement",
"Effect": "Allow",
Expand Down Expand Up @@ -110,7 +118,6 @@ resource "aws_iam_role_policy" "instance_policy" {
"ec2:StopInstances",
"ec2:StartInstances",
"ec2:RunInstances",
"ec2:DescribeInstances",
"ec2:DescribeInstanceStatus",
"ec2:CreateTags",
"ec2:DescribeAddresses",
Expand All @@ -137,7 +144,9 @@ resource "aws_iam_role_policy" "instance_policy" {
"ec2:DetachVolume",
"ec2:StopInstances",
"ec2:StartInstances",
"ec2:DescribeInstances",
"ec2:RunInstances",
"ec2:CreateTags",
"ec2:DescribeInstanceStatus",
"ec2:DescribeAddresses",
"ec2:AssociateAddress",
"ec2:DescribeImages",
Expand Down

0 comments on commit 4e8ce3a

Please sign in to comment.