Consul service mesh with AWS ECS

Hello everyone, I’m trying to create a consul mesh server with an aws integration, I’m using the terraform code that the wizard gives you when creates a new consul mesh but I’m getting this error when tries to execute the command terraform plan
( I have previously run terraform init command)

 Error: Unsupported attribute
│
│   on .terraform\modules\aws_ecs_cluster\modules\hcp-ecs-client\services.tf line 620, in module "product-db":
│  620:   consul_client_token_secret_arn = module.acl-controller.client_token_secret_arn
│     ├────────────────
│     │ module.acl-controller is a object, known only after apply
│
│ This object does not have an attribute named "client_token_secret_arn".

I attach the main.tf file (with .txt extension).

main.txt (3.4 KB)

Thank you!