Skip to content

Commit 2ed44b6

Browse files
committed
ci: update terraform spec for nvme images on azure
This is one of the required tasks to support the v6 TDX instance sizes on Azure. v6 images are require the `DiskControllerType` to be `NVMe`. This support is currently behind a feature flag for azure image galleries: - https://learn.microsoft.com/en-us/azure/virtual-machines/nvme-overview#scsi-to-nvme - https://learn.microsoft.com/en-us/azure/virtual-machines/enable-nvme-remote-faqs Signed-off-by: Magnus Kulke <magnuskulke@microsoft.com>
1 parent 7e23903 commit 2ed44b6

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

src/cloud-api-adaptor/ci-infra/azure/main.tf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ resource "azurerm_shared_image" "podvm_image" {
9292
offer = "coco-caa"
9393
sku = "coco-caa"
9494
}
95-
hyper_v_generation = "V2"
96-
confidential_vm_supported = true
95+
hyper_v_generation = "V2"
96+
confidential_vm_supported = true
97+
disk_controller_type_nvme_enabled = true
9798
}

src/cloud-api-adaptor/ci-infra/azure/providers.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
azurerm = {
66
source = "hashicorp/azurerm"
7-
version = "~>3.70"
7+
version = "=4.45.0"
88
}
99
}
1010

0 commit comments

Comments
 (0)