cluster_arn
RequiredARN of the ECS cluster. Reference from another resource or data source.
Cluster ARN Format
The cluster ARN follows this format:
arn:aws:ecs:{region}:{account}:cluster/{cluster-name}
Best Practices
- Reference the cluster ARN from another resource or data source
- Avoid hardcoding ARNs in your configuration
Full Module Example
module "ecs_service" {
source = "registry.patterneddesigns.ca/patterneddesigns/ecs-service/aws"
version = "0.1.0"
# cluster_arn
cluster_arn = "..."
# Other required inputs
service_name = "..."
task_definition_arn = "..."
}