cloudposse / terraform-aws-vpn-connection

Terraform module to provision a site-to-site VPN connection between a VPC and an on-premises network
https://cloudposse.com/accelerate
Apache License 2.0
61 stars 58 forks source link

add sensitive true on gateway output #36

Closed xcloudscript closed 8 months ago

xcloudscript commented 9 months ago

what

Error on plan or apply code, because the output have a sensitive data. Implementation uses this versions: Terraform: v1.6.6 Terragrunt: v0.54.12 Cloudposse module version: latest (v0.9.0)

why

Planning failed. Terraform encountered an error while generating this plan.

╷ │ Error: Output refers to sensitive values │ │ on outputs.tf line 16: │ 16: output "vpn_connection_customer_gateway_configuration" { │ │ 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

references