From c999d6cbc980b17e7944a5c0078e61961a9c3bae Mon Sep 17 00:00:00 2001 From: Douglas Harcourt Parsons Date: Sat, 21 Jun 2025 09:38:16 +0100 Subject: [PATCH] Mark resource_environment_variables value as sensitive Seems this was accidentally comitted as commented out. Uncomment to mark them as sensitive. Note that this only affects the output of the Terraform CLI, and does not prevent the value from being stored in plaintext in the terraform state. --- docs/resources/project_environment_variables.md | 2 +- vercel/resource_project_environment_variables.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/resources/project_environment_variables.md b/docs/resources/project_environment_variables.md index eb6330ca..99f59d64 100644 --- a/docs/resources/project_environment_variables.md +++ b/docs/resources/project_environment_variables.md @@ -75,7 +75,7 @@ resource "vercel_project_environment_variables" "example" { Required: - `key` (String) The name of the Environment Variable. -- `value` (String) The value of the Environment Variable. +- `value` (String, Sensitive) The value of the Environment Variable. Optional: diff --git a/vercel/resource_project_environment_variables.go b/vercel/resource_project_environment_variables.go index 3c7e7d11..5c938df1 100644 --- a/vercel/resource_project_environment_variables.go +++ b/vercel/resource_project_environment_variables.go @@ -98,7 +98,7 @@ At this time you cannot use a Vercel Project resource with in-line ` + "`environ "value": schema.StringAttribute{ Required: true, Description: "The value of the Environment Variable.", - // Sensitive: true, + Sensitive: true, }, "target": schema.SetAttribute{ Optional: true,