Enabling AWS EC2 instance automatic recovery with Terraform