diff --git a/quickstart/101-vm-with-infrastructure/main.tf b/quickstart/101-vm-with-infrastructure/main.tf index 978e5f06..f2bda180 100644 --- a/quickstart/101-vm-with-infrastructure/main.tf +++ b/quickstart/101-vm-with-infrastructure/main.tf @@ -111,8 +111,8 @@ resource "azurerm_linux_virtual_machine" "my_terraform_vm" { source_image_reference { publisher = "Canonical" - offer = "UbuntuServer" - sku = "18.04-LTS" + offer = "0001-com-ubuntu-server-jammy" + sku = "22_04-lts-gen2" version = "latest" } diff --git a/quickstart/101-vm-with-infrastructure/variables.tf b/quickstart/101-vm-with-infrastructure/variables.tf index e8396125..1a8c6abb 100644 --- a/quickstart/101-vm-with-infrastructure/variables.tf +++ b/quickstart/101-vm-with-infrastructure/variables.tf @@ -1,9 +1,11 @@ variable "resource_group_location" { + type = string default = "eastus" description = "Location of the resource group." } variable "resource_group_name_prefix" { + type = string default = "rg" description = "Prefix of the resource group name that's combined with a random ID so name is unique in your Azure subscription." } \ No newline at end of file