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 {
|
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"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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."
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user