Closed tonyc-blastpoint closed 2 years ago
@tonyc-blastpoint I think this issue was created in the wrong repo.
Please open the issue in cloudposse/terraform-aws-ecs-alb-service-task repo
Will do. I was told on the CloudPosse Slack to submit it here.
@tonyc-blastpoint it's a bit confusing so it may have been mistaken advice. If you recreate this issue in the other repo, it will be on the plate to be fixed. 😄
thanks for creating this issue because this does seem like a bug in the ecs alb service task module.
Describe the Bug
I'm trying to use an EFS volume in an ECS service definition. The
volumes
variable is defined such that one has to supply a value for both theefs_volume_configuration
anddocker_volume_configuration
parameters. This seems to be a Terraform syntax limitation having to do with a lack of optional arguments. However, the solution of passing an empty list doesn't work in this case, yielding the following error:Passing
null
fordocker_volume_configuration
doesn't work, either:Expected Behavior
To be able to use EFS volumes in an ECS service definition.
Steps to Reproduce
Update the example in
examples/complete
with the following added tomain.tf
:Environment (please complete the following information):
Terraform v0.14.10, MacOS 10.15.7 Anything that will help us triage the bug will help. Here are some ideas: