User story66570 (#184)
* Changes to VM image; Added type attr to all vars
This commit is contained in:
parent
082873b8e4
commit
a09536cbbe
@ -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"
|
||||
}
|
||||
|
||||
|
@ -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."
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user