onecommons / unfurl-examples

1 stars 1 forks source link

#1 - Fix output attributes of GCP #9

Closed jozo closed 3 years ago

jozo commented 3 years ago

Remove .value from resultTemplate

Add sensitive = true because of this error. This probably happens only with Terraform 1.0:

╷
│ Error: Output refers to sensitive values
│ 
│   on main.unfurl.tmp.tf line 59:
│   59: output "instance" {
│ 
│ To reduce the risk of accidentally exporting sensitive data that was
│ intended to be only internal, Terraform requires that any root module
│ output containing sensitive data be explicitly marked as sensitive, to
│ confirm your intent.
│ 
│ If you do intend to export this data, annotate the output value as
│ sensitive by adding the following argument:
│     sensitive = true
╵
aszs commented 3 years ago

adding sensitive = true to output declarations will generate a syntax error for terraform < 0.13 but i think that's ok at this point

aszs commented 3 years ago

adding sensitive = true will break this for terraform < 0.13 but i think that's ok at this point