Skip to content

Commit edcf66c

Browse files
committed
chore: Update devops
1 parent ebbbabd commit edcf66c

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

devops/main.tf

+15
Original file line numberDiff line numberDiff line change
@@ -63,16 +63,31 @@ resource "azurerm_app_service_custom_hostname_binding" "frontendfestival" {
6363
resource_group_name = azurerm_resource_group.frontendfestival.name
6464
}
6565

66+
resource "azurerm_app_service_custom_hostname_binding" "wwwFrontendfestival" {
67+
hostname = "www.frontendfestival.nl"
68+
app_service_name = azurerm_linux_web_app.frontendfestival.name
69+
resource_group_name = azurerm_resource_group.frontendfestival.name
70+
}
71+
6672
resource "azurerm_app_service_managed_certificate" "frontendfestival" {
6773
custom_hostname_binding_id = azurerm_app_service_custom_hostname_binding.frontendfestival.id
6874
}
75+
resource "azurerm_app_service_managed_certificate" "wwwFrontendfestival" {
76+
custom_hostname_binding_id = azurerm_app_service_custom_hostname_binding.wwwFrontendfestival.id
77+
}
6978

7079
resource "azurerm_app_service_certificate_binding" "frontendfestival" {
7180
hostname_binding_id = azurerm_app_service_custom_hostname_binding.frontendfestival.id
7281
certificate_id = azurerm_app_service_managed_certificate.frontendfestival.id
7382
ssl_state = "SniEnabled"
7483
}
7584

85+
resource "azurerm_app_service_certificate_binding" "wwwFrontendfestival" {
86+
hostname_binding_id = azurerm_app_service_custom_hostname_binding.wwwFrontendfestival.id
87+
certificate_id = azurerm_app_service_managed_certificate.wwwFrontendfestival.id
88+
ssl_state = "SniEnabled"
89+
}
90+
7691
resource "azurerm_app_service_source_control" "frontendfestival" {
7792
app_id = azurerm_linux_web_app.frontendfestival.id
7893
repo_url = "https://github.com/Ordina-Group/frontendfestival.nl"

0 commit comments

Comments
 (0)