diff --git a/service-front/app/config/autoload/features.global.php b/service-front/app/config/autoload/features.global.php index 116c4dd63a..b2d94e54ce 100644 --- a/service-front/app/config/autoload/features.global.php +++ b/service-front/app/config/autoload/features.global.php @@ -24,5 +24,9 @@ getenv('ALLOW_GOV_ONE_LOGIN'), FILTER_VALIDATE_BOOLEAN ) ?: false, + 'support_datastore_lpas' => filter_var( + getenv('SUPPORT_DATASTORE_LPAS'), + FILTER_VALIDATE_BOOLEAN + ) ?: false, ], ]; diff --git a/service-front/app/features/bootstrap/behat.config.php b/service-front/app/features/bootstrap/behat.config.php index 98b09d16b6..7df992906e 100644 --- a/service-front/app/features/bootstrap/behat.config.php +++ b/service-front/app/features/bootstrap/behat.config.php @@ -38,6 +38,7 @@ 'delete_lpa_feature' => true, 'instructions_and_preferences' => true, 'allow_gov_one_login' => true, + 'support_datastore_lpas' => false, ], 'notify' => [ 'api' => [ diff --git a/terraform/environment/region/use_ecs.tf b/terraform/environment/region/use_ecs.tf index 8436a3baae..eeb905faaf 100644 --- a/terraform/environment/region/use_ecs.tf +++ b/terraform/environment/region/use_ecs.tf @@ -367,6 +367,10 @@ locals { { name = "ALLOW_GOV_ONE_LOGIN", value = tostring(var.feature_flags.allow_gov_one_login) + }, + { + name = "SUPPORT_DATASTORE_LPAS", + value = tostring(var.feature_flags.support_datastore_lpas) } ] }) diff --git a/terraform/environment/region/viewer_ecs.tf b/terraform/environment/region/viewer_ecs.tf index 8dba9759ad..a970f0264c 100644 --- a/terraform/environment/region/viewer_ecs.tf +++ b/terraform/environment/region/viewer_ecs.tf @@ -333,7 +333,11 @@ locals { { name = "ALLOW_GOV_ONE_LOGIN", value = tostring(var.feature_flags.allow_gov_one_login) - } + }, + { + name = "SUPPORT_DATASTORE_LPAS", + value = tostring(var.feature_flags.support_datastore_lpas) + }, ], ) }