How would you automate blue-green deployment in AWS with IaC?
Blue-green deployments allow seamless application updates with minimal downtime. How would you automate a blue-green deployment in AWS using Infrastructure-as-Code (IaC)? Describe any tools and sample code you’d use.