Skip to content

Commit

Permalink
Explicitly allow tagging of ECS resources
Browse files Browse the repository at this point in the history
This permission will be required for tagging ECS resources beginning
29 March 2024.
  • Loading branch information
nyergler authored Mar 5, 2024
1 parent 67f70ee commit c60e700
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions terraform/modules/ecs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,9 @@ module "polytomic-ecs" {

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.22.0 |
| <a name="provider_null"></a> [null](#provider\_null) | 3.1.1 |
| <a name="provider_random"></a> [random](#provider\_random) | 3.3.2 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.27.0 |
| <a name="provider_null"></a> [null](#provider\_null) | 3.2.2 |
| <a name="provider_random"></a> [random](#provider\_random) | 3.5.1 |

## Resources

Expand Down
4 changes: 3 additions & 1 deletion terraform/modules/ecs/iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ data "aws_iam_policy_document" "polytomic_task" {
"ecs:StartTask",
"ecs:StopTask",
"ecs:RunTask",
"ecs:TagResource",
"tag:GetResources",
"tag:GetTagKeys",
"tag:GetTagValues",
Expand Down Expand Up @@ -123,7 +124,8 @@ data "aws_iam_policy_document" "polytomic_stats_reporter" {

statement {
actions = [
"ecs:RunTask"
"ecs:RunTask",
"ecs:TagResource",
]
resources = [
"${aws_ecs_task_definition.stats_reporter[0].arn}"
Expand Down

0 comments on commit c60e700

Please sign in to comment.