v0.22.0
Fix: Don't create random_password resource if not enabled. @petur (#44)
what
- Reverse the sense of the enabled variable when deciding the count for the random_password resource.
why
- The sense of the variable was backwards - setting enabled to false meant that the count was always set to 1. A minimal configuration to reproduce this is:
module "disabled_docdb" {
source = "../../work/terraform-aws-documentdb-cluster"
enabled = false
vpc_id = ""
subnet_ids = []
}