From 87a7cc5e56d4c0e8ac2c0c084943b42c79a7d9c5 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 23 Apr 2024 13:01:12 -0500 Subject: [PATCH] remove final underscore (#110) * remove final underscore * changelog --- .changes/unreleased/Under the Hood-20240423-080648.yaml | 6 ++++++ dbt_common/constants.py | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 .changes/unreleased/Under the Hood-20240423-080648.yaml diff --git a/.changes/unreleased/Under the Hood-20240423-080648.yaml b/.changes/unreleased/Under the Hood-20240423-080648.yaml new file mode 100644 index 00000000..448630c8 --- /dev/null +++ b/.changes/unreleased/Under the Hood-20240423-080648.yaml @@ -0,0 +1,6 @@ +kind: Under the Hood +body: Remove the final underscore from secret and private environment variable constants. +time: 2024-04-23T08:06:48.857514-05:00 +custom: + Author: emmyoop + Issue: "109" diff --git a/dbt_common/constants.py b/dbt_common/constants.py index de70594a..1db136af 100644 --- a/dbt_common/constants.py +++ b/dbt_common/constants.py @@ -1,6 +1,6 @@ # Prefix which identifies environment variables which contains secrets. -SECRET_ENV_PREFIX = "DBT_ENV_SECRET_" +SECRET_ENV_PREFIX = "DBT_ENV_SECRET" # Prefix which identifies environment variables that should not be visible # via macros, flags, or other user-facing mechanisms. -PRIVATE_ENV_PREFIX = "DBT_ENV_PRIVATE_" +PRIVATE_ENV_PREFIX = "DBT_ENV_PRIVATE"