-
Notifications
You must be signed in to change notification settings - Fork 807
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated Front Door Classic code sample (#244)
- Loading branch information
1 parent
2d6bb88
commit e34f713
Showing
6 changed files
with
46 additions
and
146 deletions.
There are no files selected for viewing
15 changes: 14 additions & 1 deletion
15
...tart/101-front-door-classic/front-door.tf → quickstart/101-front-door-classic/main.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
output "resource_group_name" { | ||
value = azurerm_resource_group.rg.name | ||
} | ||
|
||
output "frontDoorEndpointHostName" { | ||
value = azurerm_frontdoor.main.frontend_endpoint[0].host_name | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,16 @@ | ||
# Configure the Azure provider | ||
terraform { | ||
required_version = ">= 1.0" | ||
|
||
required_version = ">=1.0" | ||
required_providers { | ||
azurerm = { | ||
source = "hashicorp/azurerm" | ||
version = "~> 3.0" | ||
version = "~>3.0" | ||
} | ||
random = { | ||
source = "hashicorp/random" | ||
version = "~> 3.0" | ||
version = "~>3.0" | ||
} | ||
} | ||
} | ||
|
||
provider "azurerm" { | ||
features {} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
variable "location" { | ||
type = string | ||
default = "westus2" | ||
variable "resource_group_location" { | ||
type = string | ||
description = "Location for all resources." | ||
default = "eastus" | ||
} | ||
|
||
variable "backend_address" { | ||
default = "www.bing.com" | ||
type = string | ||
variable "resource_group_name_prefix" { | ||
type = string | ||
description = "Prefix of the resource group name that's combined with a random ID so name is unique in your Azure subscription." | ||
default = "rg" | ||
} | ||
|
||
variable "prefix" { | ||
type = string | ||
default = "front-door-classic" | ||
description = "Prefix of the resource name" | ||
variable "backend_address" { | ||
type = string | ||
description = "Backend address." | ||
default = "www.bing.com" | ||
} |