LocalStackTerraform

LocalStack Terraform state drift requires complete infrastructure teardown

critical
availabilityUpdated May 2, 2024(via Exa)
How to detect:

After initial tflocal apply, LocalStack modifies deployed resources (ALB port, ECS deployment parameters). Subsequent terraform operations detect drift and cause service breakage. No incremental repair is possible.

Recommended action:

Tear down the entire LocalStack instance and infrastructure stack, then redeploy from scratch. Use terraform destroy or equivalent to remove all resources before restarting LocalStack.