The family parameter is failing as the module.this has not output named id and I get this error:
Error: invalid value for family (see https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_TaskDefinition.html)
│
│ with module.ecs_clusters["xxxxxxxx"].module.ecs_service["xxxxxx"].aws_ecs_task_definition.default[0],
│ on .terraform/modules/ecs_clusters.ecs_service/main.tf line 51, in resource "aws_ecs_task_definition" "default":
│ 51: family = module.this.id
Both mandatory parameters are set in the module call.
Expected Behavior
family parameter should be provisioned as there's no variable defined to provide it.
Steps to Reproduce
Define a container definition resource and provide the parameters.
Describe the Bug
The family parameter is failing as the module.this has not output named id and I get this error:
Error: invalid value for family (see https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_TaskDefinition.html) │ │ with module.ecs_clusters["xxxxxxxx"].module.ecs_service["xxxxxx"].aws_ecs_task_definition.default[0], │ on .terraform/modules/ecs_clusters.ecs_service/main.tf line 51, in resource "aws_ecs_task_definition" "default": │ 51: family = module.this.id
Both mandatory parameters are set in the module call.
Expected Behavior
family parameter should be provisioned as there's no variable defined to provide it.
Steps to Reproduce
Define a container definition resource and provide the parameters.
Screenshots
No response
Environment
OSX, terraform 1.5.3, container_definition 0.61.1
Additional Context
No response