Updates from PR review

This commit is contained in:
John Downs 2022-11-18 12:41:32 +13:00
parent c008240f61
commit eaa4dedbd4
4 changed files with 7 additions and 5 deletions

View File

@ -8,6 +8,7 @@ terraform {
random = {
source = "hashicorp/random"
version = "~> 3.4.3"
}
}

View File

@ -6,8 +6,9 @@ This template deploys an [Azure Front Door (classic)](https://registry.terraform
| 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). |
| `random_id` | A random identifier generator to generate a unique Front Door resource name. |
## Variables

View File

@ -2,3 +2,7 @@ resource "azurerm_resource_group" "my_resource_group" {
name = var.resource_group_name
location = var.location
}
resource "random_id" "front_door_name" {
byte_length = 8
}

View File

@ -11,7 +11,3 @@ variable "resource_group_name" {
variable "backend_address" {
type = string
}
resource "random_id" "front_door_name" {
byte_length = 8
}