Skip to content

v0.30.1

Choose a tag to compare

@cloudposse-releaser cloudposse-releaser released this 02 Jul 14:20
· 6 commits to main since this release
Managed Admin Password for DocumentDb @Benbentwo (#124) refactor: improve master password management logic and validation in DocumentDB cluster

what

  • Updated create_password local to check for null
  • Enforced manage_master_user_password to be true or null (required by resource)
    • moved variable up closer to master_password

This pull request refines the handling of the master_password and manage_master_user_password variables within the Terraform module for AWS DocumentDB clusters. It introduces better logic for password management, adds validation for the new variable, and updates the module configuration accordingly.

Password Management Updates:

  • main.tf: Updated the logic for create_password to account for cases where both var.master_password and var.manage_master_user_password are null. This ensures a random password is created when necessary. Additionally, simplified the handling of master_password and manage_master_user_password in the aws_docdb_cluster resource configuration. [1] [2]

Variable Refinements:

  • variables.tf: Added a new manage_master_user_password variable with validation to ensure it is either true or null. This replaces the previous implementation and provides clearer control over managing the master user password via AWS Secrets Manager.
  • variables.tf: Removed the old definition of manage_master_user_password to avoid redundancy and potential conflicts.

🤖 Automatic Updates

Fix go version in tests @osterman (#122) ## what - Update go `1.24`

why

  • Error loading shared library libresolv.so.2 in Go 1.20

References

Replace Makefile with atmos.yaml @osterman (#121) ## what - Remove `Makefile` - Add `atmos.yaml`

why

  • Replace build-harness with atmos for readme genration

References

  • DEV-3229 Migrate from build-harness to atmos