Skip to content

Commit

Permalink
Terraform and associated environment changes for feature flag for fro…
Browse files Browse the repository at this point in the history
…nt end (#2798)
  • Loading branch information
SeemaMenon authored Sep 30, 2024
1 parent cb42975 commit b8ff9cd
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
4 changes: 4 additions & 0 deletions service-front/app/config/autoload/features.global.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
],
];
1 change: 1 addition & 0 deletions service-front/app/features/bootstrap/behat.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
'delete_lpa_feature' => true,
'instructions_and_preferences' => true,
'allow_gov_one_login' => true,
'support_datastore_lpas' => false,
],
'notify' => [
'api' => [
Expand Down
4 changes: 4 additions & 0 deletions terraform/environment/region/use_ecs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
]
})
Expand Down
6 changes: 5 additions & 1 deletion terraform/environment/region/viewer_ecs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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)
},
],
)
}

0 comments on commit b8ff9cd

Please sign in to comment.