We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8594f52 commit a5fb207Copy full SHA for a5fb207
1 file changed
infrastructure/secrets/main.tf
@@ -54,11 +54,11 @@ EOF
54
55
56
# These secrets are values which are used by DAGs, but are sensitive and should not be passed through the container environment
57
-resource "aws_secretsmanager_secret" "aws_dag_secrets" {
+resource "aws_secretsmanager_secret" "airflow_dag_variables" { # NOTE: keep this resource named as-is for backwards compatibility
58
name = "${var.prefix}/airflow/variables/aws_dags_variables"
59
}
60
61
-resource "aws_secretsmanager_secret_version" "aws_dag_secrets" {
62
- secret_id = aws_secretsmanager_secret.aws_dag_secrets.id
+resource "aws_secretsmanager_secret_version" "airflow_dag_variables" {
+ secret_id = aws_secretsmanager_secret.airflow_dag_variables.id
63
secret_string = jsonencode(var.airflow_dag_secrets)
64
0 commit comments