User story66570 (#184)

* Changes to VM image; Added type attr to all vars
This commit is contained in:
Tom Archer 2023-02-28 18:22:35 -08:00 committed by GitHub
parent 082873b8e4
commit a09536cbbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -111,8 +111,8 @@ resource "azurerm_linux_virtual_machine" "my_terraform_vm" {
source_image_reference { source_image_reference {
publisher = "Canonical" publisher = "Canonical"
offer = "UbuntuServer" offer = "0001-com-ubuntu-server-jammy"
sku = "18.04-LTS" sku = "22_04-lts-gen2"
version = "latest" version = "latest"
} }

View File

@ -1,9 +1,11 @@
variable "resource_group_location" { variable "resource_group_location" {
type = string
default = "eastus" default = "eastus"
description = "Location of the resource group." description = "Location of the resource group."
} }
variable "resource_group_name_prefix" { variable "resource_group_name_prefix" {
type = string
default = "rg" default = "rg"
description = "Prefix of the resource group name that's combined with a random ID so name is unique in your Azure subscription." description = "Prefix of the resource group name that's combined with a random ID so name is unique in your Azure subscription."
} }