aws / aws/containers-roadmap

[ECS] [request]: Support for FSx volumes in CloudFormation resource type AWS::ECS::TaskDefinition

Open
#1,534 0 comments 3 reactions 1 assignee Claimed by @campmesh View on GitHub
ECS Proposed Windows
Dominant language
Shell
Stars
5.4k
Forks
334
PR merge metrics
No merged PRs in 30d

Description

### Community Note

* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request
* Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
* If you are interested in working on this issue or have submitted a pull request, please leave a comment

**Tell us about your request**
What do you want us to build?
CloudFormation resource type AWS::ECS::TaskDefinition doesn't have support for mounting FSx volumes.
The "Volumes" property supports "DockerVolumeConfiguration", "EFSVolumeConfiguration", "Host" and "Name", but it doesn't have properties that would support mounting an FSx volume to a task definition.

**Which service(s) is this request for?**
ECS

**Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?**
We are simply trying to map a mountpoint in the ECS windows Cluster server to our FSx Share - but because the function is missing from cloudformation - we are having to invoke a workaround with a custom resource powered by a Lambda function - this adds delay to our launches.

**Are you currently working around this issue?**
As a workaround, we had to develop a Custom resource in CloudFormation, powered by a Lambda function, which creates a Task Definition upon stack creation/updates and it configures a Task Definition JSON file with the "mountPoints", "volumes" and "fsxWindowsFileServerVolumeConfiguration" properties, configured to support FSx.

**Additional context**
Given that FSx was announced in November, 2018 and FSx support for Windows ECS containers was announced in November 2020, we would expect that CloudFormation support for FSx mount points in ECS Task Definitions would be available almost 1 year later.

**Attachments**
If you think you might have additional information that you'd like to include via an attachment, please do - we'll take a look. (Remember to remove any personally-identifiable information.)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.