Skip to content

Commit e777557

Browse files
authored
fix: update FIPS vm image (#516)
Signed-off-by: chjmil <[email protected]>
1 parent abbafb1 commit e777557

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/CONFIG-VARS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ To enable the FIPS support in your subscription, you first need to accept the le
104104
To accept the terms please run following az command before deploying cluster:
105105

106106
```bash
107-
az vm image terms accept --urn Canonical:0001-com-ubuntu-pro-focal-fips:pro-fips-22_04-gen2:latest --subscription $subscription_id
107+
az vm image terms accept --urn Canonical:0001-com-ubuntu-pro-jammy-fips:pro-fips-22_04:latest --subscription $subscription_id
108108
```
109109

110110
| Name | Description | Type | Default | Notes |

modules/azurerm_vm/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,14 @@ resource "azurerm_linux_virtual_machine" "vm" {
8888
source_image_reference {
8989
publisher = var.os_publisher
9090
offer = var.fips_enabled ? "0001-com-ubuntu-pro-jammy-fips" : var.os_offer
91-
sku = var.fips_enabled ? "pro-fips-22_04-gen2" : var.os_sku
91+
sku = var.fips_enabled ? "pro-fips-22_04" : var.os_sku
9292
version = var.os_version
9393
}
9494

9595
dynamic "plan" {
9696
for_each = var.fips_enabled ? [1] : []
9797
content {
98-
name = "pro-fips-22_04-gen2"
98+
name = "pro-fips-22_04"
9999
publisher = "canonical"
100100
product = "0001-com-ubuntu-pro-jammy-fips"
101101
}

0 commit comments

Comments
 (0)