Skip to content

v0.26.3

Compare
Choose a tag to compare
@cloudposse-releaser cloudposse-releaser released this 16 May 12:16
· 22 commits to refs/heads/main since this release
3699e7f

🚀 Enhancements

feat: consolidate enable parameters to locals and fix invalid count bug @RoseSecurity (#117) ## what
  • Move enabled logic into locals
  • Added a local: local.enabled && length(var.master_password) == 0

[!NOTE]
length() returns an integer, so the result is always plan-time-known, even when the underlying string is deferred

  • Replaced the old count expression with count = module.this.enabled && local.is_master_password_empty ? 1 : 0.

why

  • Root cause: the count = module.this.enabled && var.master_password == "" ? 1 : 0 expression referenced var.master_password, which, when wired to something like aws_ssm_parameter.db_password.value, is unknown until apply time

references

🐛 Bug Fixes

feat: consolidate enable parameters to locals and fix invalid count bug @RoseSecurity (#117) ## what
  • Move enabled logic into locals
  • Added a local: local.enabled && length(var.master_password) == 0

[!NOTE]
length() returns an integer, so the result is always plan-time-known, even when the underlying string is deferred

  • Replaced the old count expression with count = module.this.enabled && local.is_master_password_empty ? 1 : 0.

why

  • Root cause: the count = module.this.enabled && var.master_password == "" ? 1 : 0 expression referenced var.master_password, which, when wired to something like aws_ssm_parameter.db_password.value, is unknown until apply time

references

🤖 Automatic Updates

Migrate new test account @osterman (#110) ## what - Update `.github/settings.yml` - Update `.github/chatops.yml` files

why

  • Re-apply .github/settings.yml from org level to get terratest environment
  • Migrate to new test account

References

  • DEV-388 Automate clean up of test account in new organization
  • DEV-387 Update terratest to work on a shared workflow instead of a dispatch action
  • DEV-386 Update terratest to use new testing account with GitHub OIDC