From 7f783b8a3d1b3042496416d4a2879d50d869d2cb Mon Sep 17 00:00:00 2001 From: Michael Manganiello Date: Wed, 6 Mar 2024 16:30:47 -0500 Subject: [PATCH] feat: Add task_definition_arn_without_revision output (#216) --- README.md | 5 +++-- docs/terraform.md | 5 +++-- outputs.tf | 5 +++++ versions.tf | 2 +- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 3043154e..5764a04b 100644 --- a/README.md +++ b/README.md @@ -220,13 +220,13 @@ Available targets: | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 0.14.0 | -| [aws](#requirement\_aws) | >= 4.40 | +| [aws](#requirement\_aws) | >= 4.59 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 4.40 | +| [aws](#provider\_aws) | >= 4.59 | ## Modules @@ -365,6 +365,7 @@ Available targets: | [service\_role\_arn](#output\_service\_role\_arn) | ECS Service role ARN | | [service\_security\_group\_id](#output\_service\_security\_group\_id) | Security Group ID of the ECS task | | [task\_definition\_arn](#output\_task\_definition\_arn) | ECS task definition ARN | +| [task\_definition\_arn\_without\_revision](#output\_task\_definition\_arn\_without\_revision) | ECS task definition ARN without revision | | [task\_definition\_family](#output\_task\_definition\_family) | ECS task definition family | | [task\_definition\_revision](#output\_task\_definition\_revision) | ECS task definition revision | | [task\_exec\_role\_arn](#output\_task\_exec\_role\_arn) | ECS Task exec role ARN | diff --git a/docs/terraform.md b/docs/terraform.md index 8f5b6fb1..7dd25edd 100644 --- a/docs/terraform.md +++ b/docs/terraform.md @@ -4,13 +4,13 @@ | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 0.14.0 | -| [aws](#requirement\_aws) | >= 4.40 | +| [aws](#requirement\_aws) | >= 4.59 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 4.40 | +| [aws](#provider\_aws) | >= 4.59 | ## Modules @@ -149,6 +149,7 @@ | [service\_role\_arn](#output\_service\_role\_arn) | ECS Service role ARN | | [service\_security\_group\_id](#output\_service\_security\_group\_id) | Security Group ID of the ECS task | | [task\_definition\_arn](#output\_task\_definition\_arn) | ECS task definition ARN | +| [task\_definition\_arn\_without\_revision](#output\_task\_definition\_arn\_without\_revision) | ECS task definition ARN without revision | | [task\_definition\_family](#output\_task\_definition\_family) | ECS task definition family | | [task\_definition\_revision](#output\_task\_definition\_revision) | ECS task definition revision | | [task\_exec\_role\_arn](#output\_task\_exec\_role\_arn) | ECS Task exec role ARN | diff --git a/outputs.tf b/outputs.tf index 8ee001c0..f9db22f1 100644 --- a/outputs.tf +++ b/outputs.tf @@ -76,3 +76,8 @@ output "task_definition_arn" { description = "ECS task definition ARN" value = one(aws_ecs_task_definition.default[*]["arn"]) } + +output "task_definition_arn_without_revision" { + description = "ECS task definition ARN without revision" + value = one(aws_ecs_task_definition.default[*]["arn_without_revision"]) +} diff --git a/versions.tf b/versions.tf index 84a0e40c..45076487 100644 --- a/versions.tf +++ b/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 4.40" + version = ">= 4.59" } } }