ryboe / private-ip-cloud-sql-db

An example set of terraform files for deploying a Cloud SQL DB with a private IP address only
MIT License
34 stars 11 forks source link

Add sensitive flag to vars and outputs that are secrets #2

Closed ryboe closed 3 years ago

ryboe commented 3 years ago

By setting sensitive = true on a variable or output, Terraform will redact it from the plan/apply output. This prevents secrets from being logged. This is a new feature in Terraform v0.14.