This commit is contained in:
Sam
2025-09-26 12:38:12 +00:00
parent 49c0913f2b
commit b2b2ad94b7
2 changed files with 8 additions and 5 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ resource "azurerm_public_ip" "vm_public" {
name = "example-pip"
location = var.location
resource_group_name = var.resource_group_name
allocation_method = "Dynamic"
allocation_method = "Static"
}
resource "azurerm_linux_virtual_machine" "vm" {
@@ -35,7 +35,7 @@ resource "azurerm_linux_virtual_machine" "vm" {
}
source_image_reference {
publisher = "Canonical"
offer = "UbuntuServer"
offer = "0001-com-ubuntu-server-jammy"
sku = "22_04-lts-gen2"
version = "latest"
}