Skip to content

Commit

Permalink
Merge pull request #532 from cisagov/AL-add-EC2-permissions
Browse files Browse the repository at this point in the history
Add permissions to EC2 to describe running Fargates
  • Loading branch information
schmelz21 authored Aug 15, 2024
2 parents 86008d9 + 73a092f commit ac248bc
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions infrastructure/database.tf
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,16 @@ resource "aws_iam_role_policy" "db_accessor_s3_policy" {
"lambda:InvokeFunction"
],
"Resource": ["*"]
},
{
"Effect": "Allow",
"Action": [
"ecs:ListTasks",
"ecs:DescribeTasks",
"ecs:ListClusters",
"ecs:DescribeClusters"
],
"Resource": "*"
}
]
}
Expand Down

0 comments on commit ac248bc

Please sign in to comment.