File tree 4 files changed +7
-5
lines changed
quickstart/101-front-door-classic
4 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ terraform {
8
8
9
9
random = {
10
10
source = " hashicorp/random"
11
+ version = " ~> 3.4.3"
11
12
}
12
13
}
13
14
Original file line number Diff line number Diff line change @@ -6,8 +6,9 @@ This template deploys an [Azure Front Door (classic)](https://registry.terraform
6
6
7
7
| Terraform Resource Type | Description |
8
8
| - | - |
9
- | ` azurerm_resource_group ` | The resource group for all the deployed resources.|
9
+ | ` azurerm_resource_group ` | The resource group for all the deployed resources. |
10
10
| ` azurerm_frontdoor ` | The Front Door (classic). |
11
+ | ` random_id ` | A random identifier generator to generate a unique Front Door resource name. |
11
12
12
13
## Variables
13
14
Original file line number Diff line number Diff line change @@ -2,3 +2,7 @@ resource "azurerm_resource_group" "my_resource_group" {
2
2
name = var. resource_group_name
3
3
location = var. location
4
4
}
5
+
6
+ resource "random_id" "front_door_name" {
7
+ byte_length = 8
8
+ }
Original file line number Diff line number Diff line change @@ -11,7 +11,3 @@ variable "resource_group_name" {
11
11
variable "backend_address" {
12
12
type = string
13
13
}
14
-
15
- resource "random_id" "front_door_name" {
16
- byte_length = 8
17
- }
You can’t perform that action at this time.
0 commit comments