workload/terraform/modules/keyvault/main.tf (20 lines of code) (raw):

terraform { # In modules we should only specify the min version required_providers { azurerm = { source = "hashicorp/azurerm" version = ">= 3.33.0" } azuread = { source = "hashicorp/azuread" version = ">= 2.25.0" } } } provider "azurerm" { features {} } # generate a random string (consisting of four characters) # https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/string resource "random_string" "random" { length = 4 upper = false special = false }