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

[Feature Request]: module for vm should allow setting tags on extensions #3115

Closed
davidkarlsen opened this issue Apr 18, 2023 · 0 comments · Fixed by #3116
Closed

[Feature Request]: module for vm should allow setting tags on extensions #3115

davidkarlsen opened this issue Apr 18, 2023 · 0 comments · Fixed by #3116
Assignees
Labels
[cat] modules category: modules enhancement New feature or request

Comments

@davidkarlsen
Copy link
Contributor

Description

https://github.com/Azure/ResourceModules/blob/main/modules/Microsoft.Compute/virtualMachines/extensions/deploy.bicep#L57 vs https://learn.microsoft.com/en-us/azure/templates/microsoft.compute/virtualmachines/extensions?pivots=deployment-language-bicep#resource-format
it should be possible to pass tags to the extensions, as our policy does not allow for untagged resources - thus the VM deployment fails if I attempt to use any extensions.

@davidkarlsen davidkarlsen added the enhancement New feature or request label Apr 18, 2023
davidkarlsen pushed a commit to davidkarlsen/ResourceModules that referenced this issue Apr 18, 2023
Signed-off-by: David J. M. Karlsen <david.johan.macdonald.karlsen@dnb.no>
davidkarlsen pushed a commit to davidkarlsen/ResourceModules that referenced this issue Apr 18, 2023
Signed-off-by: David J. M. Karlsen <david.johan.macdonald.karlsen@dnb.no>
@AlexanderSehr AlexanderSehr added the [cat] modules category: modules label Apr 18, 2023
@AlexanderSehr AlexanderSehr linked a pull request Apr 18, 2023 that will close this issue
8 tasks
eriqua pushed a commit that referenced this issue Apr 19, 2023
* add tags on extensions. Fixes #3115

Signed-off-by: David J. M. Karlsen <david.johan.macdonald.karlsen@dnb.no>

* pass on tags to child deployments too

Signed-off-by: David J. M. Karlsen <david.johan.macdonald.karlsen@dnb.no>

---------

Signed-off-by: David J. M. Karlsen <david.johan.macdonald.karlsen@dnb.no>
Co-authored-by: David J. M. Karlsen <david.johan.macdonald.karlsen@dnb.no>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[cat] modules category: modules enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants