30 lines
696 B
HCL
30 lines
696 B
HCL
variable "azure_subscriptionid" {
|
|
description = "ID of the Azure Subscription."
|
|
sensitive = true
|
|
}
|
|
|
|
variable "azure_resourcegroup" {
|
|
description = "Name of the Azure Resource Group."
|
|
}
|
|
|
|
variable "azure_location" {
|
|
description = "Location of the Azure resources"
|
|
default = "westeurope"
|
|
}
|
|
|
|
variable "azure_user" {
|
|
description = "User that will gain access to the Azure vm's"
|
|
default = "iac"
|
|
}
|
|
|
|
variable "prefix" {
|
|
description = "The Prefix used for all resources"
|
|
default = "week-4-opdracht-1"
|
|
}
|
|
|
|
# Pull the SSH public key from Azure Key Vault
|
|
data "azurerm_ssh_public_key" "azure" {
|
|
name = "azure"
|
|
resource_group_name = var.azure_resourcegroup
|
|
}
|