Skip to content

Commit

Permalink
fix: set correct compute_gallery_image_id (#718)
Browse files Browse the repository at this point in the history
The `compute_gallery_image_id` in the manifest contains an extra `{`
what makes CAPZ to fail to find this image.

This commit removes the extra wrong character.
  • Loading branch information
jonathanbeber committed Mar 3, 2023
1 parent 83e31c2 commit a369543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/packer/manifests/azure/packer.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ build {
distribution_version = "${var.distribution_version}"
kubernetes_cni_version = "${var.kubernetes_cni_semver}"
kubernetes_version = "${var.kubernetes_full_version}"
compute_gallery_image_id = "/subscriptions/${var.subscription_id}}/resourceGroups/${var.resource_group_name}/providers/Microsoft.Compute/galleries/${var.shared_image_gallery_name}/images/${var.gallery_image_name}/versions/${local.shared_image_gallery_image_version}"
compute_gallery_image_id = "/subscriptions/${var.subscription_id}/resourceGroups/${var.resource_group_name}/providers/Microsoft.Compute/galleries/${var.shared_image_gallery_name}/images/${var.gallery_image_name}/versions/${local.shared_image_gallery_image_version}"
}
output = "${var.manifest_output}"
}
Expand Down

0 comments on commit a369543

Please sign in to comment.