Skip to content

Add support for volumes in task definitions #70

@compdemo0908

Description

@compdemo0908

Is your request related to a new offering from AWS?

Is this functionality available in the AWS provider for Terraform? See CHANGELOG.md, too.
- Yes ✅: please list the AWS provider version which introduced this functionality
aws_ecs_task_definition add argument for volumes:
https://github.com/hashicorp/terraform-provider-aws/blob/main/CHANGELOG.md#3450-june-10-2021

Is your request related to a problem? Please describe.

Create services with task definitions that support volumes, i.e. EFS or FSx:
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ecs_task_definition#volume

when finishing the TODO list for the service submodule:
https://github.com/terraform-aws-modules/terraform-aws-ecs/tree/master/modules/service

Describe the solution you'd like.

Create a module input to support volume arguments in the aws_ecs_task_definition that's already in the TODO list of the Read.Me

Describe alternatives you've considered.

This third party module:
https://github.com/techservicesillinois/terraform-aws-ecs-service#network_configuration

Additional context

Third party module has too many co-dependencies and it's almost sunset. For example, when creating a service with a LB the Default Forward Rule can't be used but a Host Condition is required. Adding un-necessary complexity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions