Skip to content

v0.22.0

Compare
Choose a tag to compare
@github-actions github-actions released this 21 Jul 23:45
· 30 commits to main since this release
b6992b9
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 = []
}