-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
Support for volumes in task definitions #4916
Comments
Hi @kennyg See docs at https://www.terraform.io/docs/providers/aws/r/ecs_task_definition.html#volume Feel free to reopen the issue if I misunderstood your question or create a new one if |
This would be tricky, since volume is a separate parameter in the API & SDK, so we'd effectively have to let the user provide the whole thing ( We're currently in the middle of the same problem in K8S provider. So far it looks like we'll just end up translating JSON into HCL automatically. See the reasons & concerns we expressed there: #3453 The current limitation that already exists for ECS Task Definition is that you cannot use Note that HCL can be transparently translated into JSON (and visa versa), so you could use something like |
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
I would like to startup a task on each ECS instance for monitoring, following this guide: https://aws.amazon.com/blogs/compute/running-an-amazon-ecs-task-on-every-instance/
the terraform ecs_task_definition resource supports loading the container definitions. would it be possible to support loading the raw json including the volumes array via the file method?
The text was updated successfully, but these errors were encountered: