Setting default values to those used by HashiCorp in their sample

This commit is contained in:
Tom Archer
2024-02-06 13:49:53 -08:00
committed by lonegunmanb
parent f6f2e9317a
commit d80c430a56
3 changed files with 12 additions and 4 deletions

View File

@ -45,6 +45,14 @@ resource "random_string" "api_name" {
upper = false
}
resource "random_string" "content_value" {
length = 8
lower = true
numeric = false
special = false
upper = false
}
resource "azurerm_api_management_api" "api" {
name = "${random_string.api_name.result}-api"
resource_group_name = azurerm_resource_group.rg.name