terraform-aws-modules / terraform-aws-ec2-instance

Terraform module to create AWS EC2 instance(s) resources πŸ‡ΊπŸ‡¦
https://registry.terraform.io/modules/terraform-aws-modules/ec2-instance/aws
Apache License 2.0
754 stars 1.87k forks source link

Add feature to specify custom lifecycle rules #373

Closed grommir closed 8 months ago

grommir commented 8 months ago

Is your request related to a new offering from AWS?

Is this functionality available in the AWS provider for Terraform? See CHANGELOG.md, too.

Describe the solution you'd like.

Add possibility to create more flexible lifecycle rules like create_before_destroy, ignore_changes etc.

antonbabenko commented 8 months ago

There is no way to implement this dynamically in Terraform, so we can't do anything in the modules.

github-actions[bot] commented 7 months ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.