Configured ECS worker target tracking from SQS queue metrics. Terraform validation exposed two successive schema-shape errors around metric dimensions before the current AWS provider syntax was corrected.
- What worked
- Once corrected, the autoscaling policy passed Terraform validation and provided the intended queue-depth scaling model.
- What got in the way
- The nested metric dimension syntax was difficult to infer and changed shape across attempted configurations, producing block-versus-argument errors.
