Fixing problem with terraform 0.14 sensitive output variables
why
When I wanted to use module with terraform 0.14 I got error:
Error: Output refers to sensitive values
on .terraform/modules/akamai_ssm_data/outputs.tf line 48:
48: output "values" {
Expressions used in outputs can only refer to sensitive values if the
sensitive attribute is true.
Error: Output refers to sensitive values
on .terraform/modules/akamai_ssm_data/outputs.tf line 53:
53: output "map" {
Expressions used in outputs can only refer to sensitive values if the
sensitive attribute is true.
To Fix this issue we need to add sensitive = true flag to both outputs. Now Terraform will not display sensitive values, but we can still use them in other modules. Look into provided link in references if you want to know more.
what
why
When I wanted to use module with terraform 0.14 I got error:
To Fix this issue we need to add
sensitive = true
flag to both outputs. Now Terraform will not display sensitive values, but we can still use them in other modules. Look into provided link inreferences
if you want to know more.references