Skip to content

Commit f8383b1

Browse files
Fix case of screening_entra_group_id in prod tfvars (#166)
Terraform variable names are case-sensitive: prod's tfvars set SCREENING_ENTRA_GROUP_ID, which Terraform ignores as an undeclared variable, leaving the required screening_entra_group_id unset. The next prod arc-infra plan would fail with "No value for required variable". Lowercase it to match the variable declaration and every other environment. Also remove the duplicate from variables.sh: nothing consumes it from the shell environment.
1 parent 28f6918 commit f8383b1

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

infrastructure/environments/prod/variables.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ HUB=prod
77
ENABLE_SOFT_DELETE=true
88
ADO_MANAGEMENT_POOL=private-pool-prod-uks
99
CLOUD_API_HOSTNAME=manage-breast-screening.nhs.uk
10-
SCREENING_ENTRA_GROUP_ID="3b2b22b0-ac8e-4904-a94b-9010ff08698a"
1110
# ring1 = first real sites (one per PACS vendor)
1211
# To onboard more rings: set GATEWAY_RINGS="ring0 ring1 ring2 ..." in this file
1312
GATEWAY_RINGS="ring1"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# All values use defaults: enable_gateway_test_vm = false, enable_arc_servers = true
2-
SCREENING_ENTRA_GROUP_ID = "3b2b22b0-ac8e-4904-a94b-9010ff08698a"
2+
screening_entra_group_id = "3b2b22b0-ac8e-4904-a94b-9010ff08698a"

0 commit comments

Comments
 (0)