Skip to content

source.id to source.virtualMachineId#474

Closed
anshulsharma-hashicorp wants to merge 2 commits intomainfrom
source_vm_image_id
Closed

source.id to source.virtualMachineId#474
anshulsharma-hashicorp wants to merge 2 commits intomainfrom
source_vm_image_id

Conversation

@anshulsharma-hashicorp
Copy link
Copy Markdown

DELETE THIS TEMPLATE BEFORE SUBMITTING

In order to have a good experience with our community, we recommend that you
read the contributing guidelines for making a PR, and understand the lifecycle
of a Packer Plugin PR:

https://github.com/hashicorp/packer-plugin-azure/blob/main/.github/CONTRIBUTING.md#opening-an-pull-request

Describe the change you are making here!

Please include tests. We recommend looking at existing tests as an example.

If your PR resolves any open issue(s), please indicate them like this so they will be closed when your PR is merged:

Closes #xxx
Closes #xxx

@anshulsharma-hashicorp anshulsharma-hashicorp requested a review from a team as a code owner March 13, 2025 11:31
@hashicorp-cla-app
Copy link
Copy Markdown

hashicorp-cla-app Bot commented Mar 13, 2025

CLA assistant check
All committers have signed the CLA.


// First check if the parent Gallery Image Version source ID is a managed image, if so we use that as our source image name
parentSourceID := *image.Properties.StorageProfile.Source.Id
parentSourceID := *image.Properties.StorageProfile.Source.VirtualMachineId
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as i mentioned in slack, this breaks HCP Packer ancestry for SIG images that are sourced from a managed image, this does not fix the user issue y'all are concerned about with the deprecation on march 15th, so I don't think we should merge this change, thanks for taking a crack at in @anshulsharma-hashicorp

@JenGoldstrich
Copy link
Copy Markdown
Contributor

Closing this PR as we discussed in slack as it shouldn't be needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants