Skip to content

Commit

Permalink
Added support for volume.host_path on ECS Task Definition.
Browse files Browse the repository at this point in the history
  • Loading branch information
BSick7 committed Apr 17, 2024
1 parent aac08ff commit 2982d9b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 0.1.7 (Apr 17, 2024)
* Added support for `volume.host_path` on ECS Task Definition.

# 0.1.6 (Mar 19, 2024)
* Upgrade terraform providers (aws -> `5.41.0`).

Expand Down
2 changes: 2 additions & 0 deletions task.tf
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ resource "aws_ecs_task_definition" "this" {
content {
name = volume.key

host_path = volume.value.host_path

dynamic "efs_volume_configuration" {
for_each = length(volume.value.efs_volume) > 0 ? tomap({ "1" = jsondecode(volume.value.efs_volume) }) : tomap({})

Expand Down

0 comments on commit 2982d9b

Please sign in to comment.