Closed alisonjenkins closed 2 years ago
Don't use data.aws_subnet_ids
data source...
This PR is not going to be merged because it does not satisfy everyone's needs and Terraform doesn't allow usage of variables in lifecycle
block.
@antonbabenko sorry I did not actually mean to open it against the public version of this module.
I'm going to lock this pull request 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 related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Do not recreate the instance if the subnet ID changes. This is because the data.aws_subnet_ids data source has been deprecated and the replacement does not return the subnets in the same order.