Create a complete AWS ECS Fargate deployment with task definitions, services, and load balancing.
Help me deploy an application to AWS ECS Fargate. Application details: - Container image: [ECR repository URL] - CPU/Memory requirements: [specify] - Number of tasks: [desired count] - Port mappings: [container ports] - Environment variables: [list required vars] - Secrets: [from Secrets Manager/Parameter Store] Infrastructure requirements: 1. Task definition with proper IAM roles 2. ECS service with deployment configuration 3. Application Load Balancer setup 4. Target group with health checks 5. Auto-scaling policies 6. CloudWatch logging 7. VPC configuration (subnets, security groups) 8. Service discovery (optional) Please provide: - Terraform/CloudFormation templates - IAM policies with least privilege - Deployment commands - Monitoring recommendations
Or press ⌘C to copy