terraform-google-vpn icon indicating copy to clipboard operation
terraform-google-vpn copied to clipboard

Secret outputs for classic vpn not marked sensitive break plan/apply

Open qbaze opened this issue 1 year ago • 0 comments

TL;DR

As secret outputs in classic vpn are not marked sensitive=true plan and apply are broken

Expected behavior

Secret outputs marked sensitive and plan/apply works.

Observed behavior

Plan/apply doesn't work because sensitive outputs not marked sensitive.

│ 
│   on outputs.tf line 52:
│   52: output "ipsec_secret-static" {
│ 
│ 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
╵
ERRO[0025] Terraform invocation failed in ```

### Terraform Configuration

```hcl
na

Terraform Version

1.5.7

Additional information

No response

qbaze avatar May 12 '24 14:05 qbaze