terraform-aws-rds
terraform-aws-rds copied to clipboard
Database replica gets deleted on subsequent terraform apply if storage_encrypted is set to false
Description
For our AWS postgresql DB replication we use this module. The replica is getting created, However we noticed that the DB replica once created would getting destroyed on terraform apply. I noticed the issue seemed to be connected to the storage_encrypted which was set to false. Unless this is set to true, terraform apply deletes the DB replica once it creates that on next apply. Not sure if this is by design. Could i suggest to update the readme accordingly for this parameter.
If your request is for a new feature, please use the Feature request template.
- [x] β I have searched the open/closed issues and my issue is not listed.
β οΈ Note
Versions
-
Module version [Required]: 4.0
-
Terraform version:
- Provider version(s):
Reproduction Code [Required]
Steps to reproduce the behavior: