terraform-aws-documentdb-cluster
terraform-aws-documentdb-cluster copied to clipboard
fix: address invalid count bug
what and why
- If a
data.aws_ssm_parameter.password.valueis 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 variablemaster_passwordassensitive = true, the value is off-limits to functions likelength()or to meta-arguments likecount. Terraform refuses to evaluate them → “invalid count argument”.
/terratest
These changes were released in v0.27.0.