Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AVM Module Issue]: compute/virtual-machine and name of OSDisk and DataDisk partly hardcoded in main.bicep #1436

Closed
1 task done
aavdberg opened this issue Mar 27, 2024 · 8 comments · Fixed by #1517
Closed
1 task done
Assignees
Labels
Class: Resource Module 📦 This is a resource module Type: AVM 🅰️ ✌️ Ⓜ️ This is an AVM related issue Type: Bug 🐛 Something isn't working

Comments

@aavdberg
Copy link

Check for previous/existing GitHub issues

  • I have checked for previous/existing GitHub issues

Issue Type?

Bug

Module Name

avm/res/compute/virtual-machine

(Optional) Module Name if not listed above

No response

(Optional) Module Version

No response

Description

When I want to use the module in existing pipeline and with existing resources i have the problem with OSDisk and Datadisk name are hardcoded in the bicep file.

image

and they are not to be changed on existing resources.

So you have to have the possibility to configure them with parameters.

(Optional) Correlation Id

No response

@aavdberg aavdberg added Needs: Triage 🔍 Maintainers need to triage still Type: AVM 🅰️ ✌️ Ⓜ️ This is an AVM related issue labels Mar 27, 2024

Important

The "Needs: Triage 🔍" label must be removed once the triage process is complete!

Tip

For additional guidance on how to triage this issue/PR, see the BRM Issue Triage documentation.

Note

This label was added as per ITA06.

Note

The "Type: Bug 🐛" label was added as per ITA21.

@microsoft-github-policy-service microsoft-github-policy-service bot added the Type: Bug 🐛 Something isn't working label Mar 27, 2024
@github-actions github-actions bot added Needs: Attention 👋 Reply has been added to issue, maintainer to review Class: Resource Module 📦 This is a resource module labels Mar 27, 2024
Copy link
Contributor

@aavdberg, thanks for submitting this issue for the avm/res/compute/virtual-machine module!

A member of the @azure/avm-res-compute-virtualmachine-module-owners-bicep or @azure/avm-res-compute-virtualmachine-module-contributors-bicep team will review it soon!

@aavdberg aavdberg changed the title [AVM Module Issue]: compute/virtual-machine and name of OSDisk [AVM Module Issue]: compute/virtual-machine and name of OSDisk and DataDisk partly hardcoded in main.bicep Mar 27, 2024
@johnlokerse
Copy link
Contributor

@AlexanderSehr @rahalan Can you assign this issue to me? I can pick this up.

@AlexanderSehr
Copy link
Contributor

Hey @johnlokerse, done - thank you very much :)

cc: @rahalan

@AlexanderSehr AlexanderSehr removed Needs: Triage 🔍 Maintainers need to triage still Needs: Attention 👋 Reply has been added to issue, maintainer to review labels Mar 27, 2024
@rahalan
Copy link
Contributor

rahalan commented Apr 3, 2024

@johnlokerse please see PR #1515 . There I did something similar for the NIC name.

@johnlokerse
Copy link
Contributor

Thanks for the tip @rahalan! I have done something similar: https://github.com/johnlokerse/bicep-registry-modules/blob/johnlokerse/issue1436/avm/res/compute/virtual-machine/main.bicep#L478

Only need to run some tests before creating the PR.

@johnlokerse
Copy link
Contributor

Opened PR #1517

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Class: Resource Module 📦 This is a resource module Type: AVM 🅰️ ✌️ Ⓜ️ This is an AVM related issue Type: Bug 🐛 Something isn't working
Projects
None yet
4 participants