Skip to content

Commit d363906

Browse files
author
Vincent Illiano
committed
chore(deps): update vm image to ubuntu 22.04 (PSKD-1572)
Signed-off-by: Vincent Illiano <[email protected]>
1 parent bff7b01 commit d363906

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

modules/azurerm_vm/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ resource "azurerm_linux_virtual_machine" "vm" {
8787

8888
source_image_reference {
8989
publisher = var.os_publisher
90-
offer = var.fips_enabled ? "0001-com-ubuntu-pro-focal-fips" : var.os_offer
90+
offer = var.fips_enabled ? "0001-com-ubuntu-pro-jammy-fips" : var.os_offer
9191
sku = var.fips_enabled ? "pro-fips-22_04-gen2" : var.os_sku
9292
version = var.os_version
9393
}
@@ -97,7 +97,7 @@ resource "azurerm_linux_virtual_machine" "vm" {
9797
content {
9898
name = "pro-fips-22_04-gen2"
9999
publisher = "canonical"
100-
product = "0001-com-ubuntu-pro-focal-fips"
100+
product = "0001-com-ubuntu-pro-jammy-fips"
101101
}
102102
}
103103

modules/azurerm_vm/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ variable "os_publisher" {
6565
variable "os_offer" {
6666
description = "Specifies the offer of the image used to create the virtual machines. Changing this forces a new resource to be created."
6767
type = string
68-
default = "0001-com-ubuntu-server-focal"
68+
default = "0001-com-ubuntu-server-jammy"
6969
}
7070

7171
variable "os_sku" {

0 commit comments

Comments
 (0)