Skip to content

Commit

Permalink
Add staging and sandbox front door domains
Browse files Browse the repository at this point in the history
  • Loading branch information
saliceti committed Dec 30, 2024
1 parent 6c55bc8 commit 0990a25
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ domains-infra-plan: domains domains-infra-init
domains-infra-apply: domains domains-infra-init
terraform -chdir=terraform/domains/infrastructure apply -var-file config/zones.tfvars.json ${AUTO_APPROVE}

domains-init: domains-composed-variables domains set-azure-account
domains-init: domains domains-composed-variables set-azure-account
rm -rf terraform/domains/environment_domains/vendor/modules/domains
git -c advice.detachedHead=false clone --depth=1 --single-branch --branch ${TERRAFORM_MODULES_TAG} https://github.com/DFE-Digital/terraform-modules.git terraform/domains/environment_domains/vendor/modules/domains

Expand Down
16 changes: 16 additions & 0 deletions terraform/domains/environment_domains/config/sandbox.tfvars.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"hosted_zone": {
"register-national-professional-qualifications.education.gov.uk": {
"front_door_name": "s189p01-cpdnpqdomains-fd",
"resource_group_name": "s189p01-cpdnpqdomains-rg",
"domains": [
"t"
],
"cached_paths": [
"/packs/*"
],
"environment_short": "sb",
"origin_hostname": "npq-registration-sandbox-web.teacherservices.cloud"
}
}
}
16 changes: 16 additions & 0 deletions terraform/domains/environment_domains/config/staging.tfvars.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"hosted_zone": {
"register-national-professional-qualifications.education.gov.uk": {
"front_door_name": "s189p01-cpdnpqdomains-fd",
"resource_group_name": "s189p01-cpdnpqdomains-rg",
"domains": [
"x"
],
"cached_paths": [
"/packs/*"
],
"environment_short": "st",
"origin_hostname": "npq-registration-staging-web.test.teacherservices.cloud"
}
}
}

0 comments on commit 0990a25

Please sign in to comment.