Skip to content

Terraform

Requirements

Name Version
azurerm ~> 4.0

Providers

Name Version
azurerm 4.29.0

Modules

No modules.

Resources

Name Type
azurerm_application_insights.application-insights resource
azurerm_cdn_frontdoor_custom_domain.fd-custom-domain resource
azurerm_cdn_frontdoor_custom_domain_association.web-app-custom-domain resource
azurerm_cdn_frontdoor_endpoint.frontdoor-web-endpoint resource
azurerm_cdn_frontdoor_firewall_policy.web_firewall_policy resource
azurerm_cdn_frontdoor_origin.frontdoor-web-origin resource
azurerm_cdn_frontdoor_origin_group.frontdoor-origin-group resource
azurerm_cdn_frontdoor_profile.frontdoor-web-profile resource
azurerm_cdn_frontdoor_route.frontdoor-web-route resource
azurerm_cdn_frontdoor_rule.security_headers_rule resource
azurerm_cdn_frontdoor_rule.security_txt_rule resource
azurerm_cdn_frontdoor_rule.thanks_txt_rule resource
azurerm_cdn_frontdoor_rule_set.security_headers resource
azurerm_cdn_frontdoor_rule_set.security_redirects resource
azurerm_cdn_frontdoor_security_policy.frontdoor-web-security-policy resource
azurerm_key_vault.key-vault resource
azurerm_key_vault_access_policy.github-kv-access resource
azurerm_key_vault_access_policy.web-app-kv-access resource
azurerm_key_vault_access_policy.web-app-staging-kv-access resource
azurerm_key_vault_secret.application-insights-connection-string resource
azurerm_key_vault_secret.azure-translation-access-key resource
azurerm_key_vault_secret.contentful-delivery-api-key resource
azurerm_key_vault_secret.contentful-management-api-key resource
azurerm_key_vault_secret.contentful-preview-api-key resource
azurerm_key_vault_secret.contentful-space-id resource
azurerm_key_vault_secret.pdf-generation-api-key resource
azurerm_key_vault_secret.redis-cache-connection-string resource
azurerm_linux_web_app.web-app-service resource
azurerm_linux_web_app_slot.web-app-service-staging resource
azurerm_log_analytics_workspace.log-analytics-workspace resource
azurerm_redis_cache.redis-cache resource
azurerm_resource_group.caching-rg resource
azurerm_resource_group.core-rg resource
azurerm_resource_group.web-rg resource
azurerm_service_plan.web-app-service-plan resource
azurerm_client_config.client data source

Inputs

Name Description Type Default Required
aspnetcore_environment ASP.NET Core environment string n/a yes
azure_frontdoor_scale Azure Front Door Scale string "Standard_AzureFrontDoor" no
azure_translation_access_key Azure Translation Access Key string "" no
azure_translation_document_endpoint Azure Document Translation Endpoint string "" no
caching_type Caching type string n/a yes
cip_environment The CIP environment to match subscription (e.g. Dev) string n/a yes
contentful_delivery_api_key Contentful Delivery API Key string n/a yes
contentful_environment Contentful Environment string n/a yes
contentful_management_api_key Contentful Management API Key string n/a yes
contentful_preview_api_key Contentful Preview API Key string n/a yes
contentful_space_id Contentful Space ID string n/a yes
contentful_use_preview_api Use Contentful Preview API? bool n/a yes
custom_domain Custom front-door domain string "" no
environment_prefix Environment prefix (e.g. d01) string n/a yes
pdf_generation_api_key PDF Generation API Key string n/a yes
pdf_generation_use_sandbox Generate PDFs in Sandbox Mode? bool n/a yes
rebrand Force DfE Rebrand before 25th June 2025 bool false no
scripts_clarity Clarity code string n/a yes

Outputs

No outputs.