Azure / Azure/bicep-registry-modules

[AVM Module Issue]: Clarification on `vmTemplate` parameter usage and session host deployment for Host Pool module

Open
#4,995 11 comments 0 reactions 0 assignees View on GitHub
Class: Resource Module :package: Needs: Immediate Attention :bangbang: Needs: Triage :mag: Status: Module Orphaned :yellow_circle: Status: Response Overdue :triangular_flag_on_post: Type: AVM :a: :v: :m: Type: Bug :bug:
Dominant language
Bicep
Stars
736
Forks
564
Avg merge
3d 15h
Merged PRs (30d)
30

Description

### Check for previous/existing GitHub issues

- [x] I have checked for previous/existing GitHub issues

### Issue Type?

Bug

### Module Name

avm/res/desktop-virtualization/host-pool

### (Optional) Module Version

_No response_

### Description

While working with the [avm/res/desktop-virtualization/host-pool](https://github.com/Azure/bicep-registry-modules/tree/main/avm/res/desktop-virtualization/host-pool) module, I noticed that the `vmTemplate` parameter is included in the inputs, but there’s currently no documentation on how to use it. Additionally, when I pass a value to it during deployment, it doesn’t seem to have any effect - no session hosts are created or triggered.

I have a few questions:
- Could you please clarify the intended usage of the `vmTemplate` parameter?
- Is there any planned support for provisioning session hosts automatically via this module?
- What is the recommended or suggested practice for adding session hosts when using this host pool module? Should it be handled in an additional step (e.g. with the virtual machine module)?

It would be great to either document, mark or remove the parameter if it’s currently not functional, to avoid confusion.

Thanks in advance!

### (Optional) Correlation Id

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the avm/res/desktop-virtualization/host-pool module entry point and inspect how the vmTemplate input is currently handled during deployment. Confirm whether it affects session-host provisioning, then document its intended usage or clarify that session hosts require an additional step; done means the parameter's behavior and recommended deployment practice are unambiguous.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.