terraform-aws-documentdb-cluster icon indicating copy to clipboard operation
terraform-aws-documentdb-cluster copied to clipboard

fix: address invalid count bug

Open RoseSecurity opened this issue 9 months ago • 1 comments

what and why

  • If a data.aws_ssm_parameter.password.value is passed to this module, it is tagged as a sensitive in the AWS provider, and that tag travels with the value all the way into the module. Because we don’t mark variable master_password as sensitive = true, the value is off-limits to functions like length() or to meta-arguments like count. Terraform refuses to evaluate them → “invalid count argument”.

RoseSecurity avatar May 16 '25 17:05 RoseSecurity

/terratest

RoseSecurity avatar May 16 '25 17:05 RoseSecurity

These changes were released in v0.27.0.

github-actions[bot] avatar May 21 '25 01:05 github-actions[bot]