v0.62.0
#146 fixes volume configuration bug where both docker and EFS volumes are c… @bradj (#159)
…reated yet only one is needed #146
what
- Removes
volumes
variable in favor of two variables:efs_volumes
anddocker_volumes
why
- Currently, both
docker_volume_configuration
andefs_volume_configuration
properties are required on allvolumes
objects - This causes 2 volume blocks to be created: one as
docker_volume_configuration
and the other asefs_volume_configuration
regardless of which is actually needed - The
aws_ecs_task_definition
resource does not allow multiple types of volumes to be defined and throws the errorClientException: When the volume parameter is specified, only one volume configuration type should be used.
references
- Side effect of Optional arguments in object variable type definition
- closes #146