Add the ability to specify Packer Azure plugin version (#11587)

This commit is contained in:
Alexey-Ayupov
2025-02-13 16:46:42 +01:00
committed by GitHub
parent a4026a1e8b
commit b28a1045e6
9 changed files with 7 additions and 64 deletions

View File

@@ -1,12 +1,3 @@
packer {
required_plugins {
azure = {
source = "github.com/hashicorp/azure"
version = "1.4.5"
}
}
}
locals {
managed_image_name = var.managed_image_name != "" ? var.managed_image_name : "packer-${var.image_os}-${var.image_version}"
}

View File

@@ -1,12 +1,3 @@
packer {
required_plugins {
azure = {
source = "github.com/hashicorp/azure"
version = "1.4.5"
}
}
}
locals {
managed_image_name = var.managed_image_name != "" ? var.managed_image_name : "packer-${var.image_os}-${var.image_version}"
}

View File

@@ -1,12 +1,3 @@
packer {
required_plugins {
azure = {
source = "github.com/hashicorp/azure"
version = "1.4.5"
}
}
}
locals {
managed_image_name = var.managed_image_name != "" ? var.managed_image_name : "packer-${var.image_os}-${var.image_version}"
}

View File

@@ -1,11 +1,3 @@
packer {
required_plugins {
azure = {
source = "github.com/hashicorp/azure"
version = "1.4.5"
}
}
}
locals {
image_os = "ubuntu22"