0

I am trying to do a blue-green deployment in AWS using an Auto-Scaling Group (ASG). The deployment fails and rollback happens because I enabled it during deployment. But, even after rollback, the newly created ASG ("green" environment) stays there, I have to manually delete it.

Is there any way to automate the process of its deletion?

I didn't try anything, but I expected it to be deleted as soon as rollback happens.

jonrsharpe
  • 115,751
  • 26
  • 228
  • 437

0 Answers0