Updates from PR review
This commit is contained in:
parent
c008240f61
commit
eaa4dedbd4
@ -8,6 +8,7 @@ terraform {
|
|||||||
|
|
||||||
random = {
|
random = {
|
||||||
source = "hashicorp/random"
|
source = "hashicorp/random"
|
||||||
|
version = "~> 3.4.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -6,8 +6,9 @@ This template deploys an [Azure Front Door (classic)](https://registry.terraform
|
|||||||
|
|
||||||
| Terraform Resource Type | Description |
|
| Terraform Resource Type | Description |
|
||||||
| - | - |
|
| - | - |
|
||||||
| `azurerm_resource_group` | The resource group for all the deployed resources.|
|
| `azurerm_resource_group` | The resource group for all the deployed resources. |
|
||||||
| `azurerm_frontdoor` | The Front Door (classic). |
|
| `azurerm_frontdoor` | The Front Door (classic). |
|
||||||
|
| `random_id` | A random identifier generator to generate a unique Front Door resource name. |
|
||||||
|
|
||||||
## Variables
|
## Variables
|
||||||
|
|
||||||
|
@ -2,3 +2,7 @@ resource "azurerm_resource_group" "my_resource_group" {
|
|||||||
name = var.resource_group_name
|
name = var.resource_group_name
|
||||||
location = var.location
|
location = var.location
|
||||||
}
|
}
|
||||||
|
|
||||||
|
resource "random_id" "front_door_name" {
|
||||||
|
byte_length = 8
|
||||||
|
}
|
||||||
|
@ -11,7 +11,3 @@ variable "resource_group_name" {
|
|||||||
variable "backend_address" {
|
variable "backend_address" {
|
||||||
type = string
|
type = string
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "random_id" "front_door_name" {
|
|
||||||
byte_length = 8
|
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user