diff --git a/terraform/environments/prd/main.tf b/terraform/environments/prd/main.tf index cf219fa6..685ffbc3 100644 --- a/terraform/environments/prd/main.tf +++ b/terraform/environments/prd/main.tf @@ -116,7 +116,7 @@ resource "aws_iam_role_policy_attachment" "mwaa_execution_role" { # Main ELT architecture module "elt" { - source = "github.com/cagov/data-infrastructure.git//terraform/snowflake/modules/elt?ref=9e032a9" + source = "github.com/cagov/data-infrastructure.git//terraform/snowflake/modules/elt?ref=ebd59ff" providers = { snowflake.accountadmin = snowflake.accountadmin, snowflake.securityadmin = snowflake.securityadmin, diff --git a/terraform/modules/snowflake-clearinghouse/main.tf b/terraform/modules/snowflake-clearinghouse/main.tf index a632adf7..8eb5601f 100644 --- a/terraform/modules/snowflake-clearinghouse/main.tf +++ b/terraform/modules/snowflake-clearinghouse/main.tf @@ -24,6 +24,7 @@ resource "snowflake_schema" "pems_clearinghouse" { database = "RAW_${var.environment}" name = "CLEARINGHOUSE" data_retention_time_in_days = 14 + is_transient = false lifecycle { prevent_destroy = true @@ -36,6 +37,7 @@ resource "snowflake_schema" "pems_db96" { database = "RAW_${var.environment}" name = "DB96" data_retention_time_in_days = 14 + is_transient = false lifecycle { prevent_destroy = true