Skip to content

Commit fec425b

Browse files
authored
Merge pull request #4 from stanagh/fix/typo
Fix typos in Terraform workflow and frontdoor module configuration
2 parents 7f40bcf + f630887 commit fec425b

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/terraform-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
run: terraform init
5050

5151
- name: Terraform Format
52-
run: terraform fmt && terraform fmt -resursive
52+
run: terraform fmt && terraform fmt -recursive
5353

5454
- name: Terraform Plan
5555
if: ${{ github.event_name == 'push' || github.event.inputs.action == 'plan' || github.event.inputs.action == 'apply' }}

terraform/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ module "frontdoor" {
118118
dns_zone_id = module.dns.dns_zone_id
119119
dns_zone_name = module.dns.dns_zone_name
120120
cname_record_name = "app"
121-
ttl = 300
121+
ttl = 300
122122

123123
fdprofile_name = "${local.region}-fd-${local.environment}-${random_integer.suffix.result}"
124124
fdendpoint_name = "${local.region}-fde-${random_integer.suffix.result}"
@@ -129,6 +129,6 @@ module "frontdoor" {
129129
origin_name = "${local.region}-fdo-${random_integer.suffix.result}"
130130
origin_host_name = module.container_apps.container_app_hostname
131131
origin_host_name_header = module.container_apps.container_app_hostname
132-
132+
133133

134134
}

terraform/modules/frontdoor/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ resource "azurerm_cdn_frontdoor_route" "fdroute" {
142142
cdn_frontdoor_endpoint_id = azurerm_cdn_frontdoor_endpoint.fdendpoint.id
143143
cdn_frontdoor_origin_group_id = azurerm_cdn_frontdoor_origin_group.fdorigin_group.id
144144
cdn_frontdoor_origin_ids = [azurerm_cdn_frontdoor_origin.fdorigin.id]
145-
enabled = true
145+
enabled = true
146146

147147
forwarding_protocol = "HttpsOnly"
148148
https_redirect_enabled = true

0 commit comments

Comments
 (0)