-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: ECS Docker volume support #5523
Comments
👍 |
1 similar comment
👍 |
Are there any workarounds you have found in the mean time? Basically I want to be able to create a task definition that uses a persistent docker data volume, however the only thing I could find in the Terraform docs states:
Terraform noob here |
@markphelps The current parameters allow you to;
The new parameters would create a docker volume on the instance the task is launched or if "shared" set use an existing one (and not delete it when the task stops) |
@russmac i've started working on this issue |
@ewilde Thank you, I can use your PR as a guide to get started writing Go for the next feature I need. |
Add support for docker volume configuration to ecs task definitions Resolves hashicorp#5523 Signed-off-by: Edward Wilde <[email protected]>
Initial support for this has been merged in and will be released with version 1.36.0 of the AWS provider, likely later today. 👍 |
This has been released in version 1.36.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Community Note
Description
AWS has added support for docker volumes to be generated by task definition configuration on 09/08/2018: https://aws.amazon.com/about-aws/whats-new/2018/08/amazon-ecs-now-supports-docker-volume-and-volume-plugins/
Parameter details are here: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/docker-volumes.html
This expands the possible parameters in a volumes array to this:
This greatly streamlines provisioning of docker volumes in a Terraform ECS deployment.
New or Affected Resource(s)
Potential Terraform Configuration
References
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/docker-volumes.html
https://aws.amazon.com/about-aws/whats-new/2018/08/amazon-ecs-now-supports-docker-volume-and-volume-plugins/
The text was updated successfully, but these errors were encountered: