Skip to content

[AVM Module Issue]: Make Submodules usable standalone #4253

@cthoenes

Description

@cthoenes

Check for previous/existing GitHub issues

  • I have checked for previous/existing GitHub issues

Issue Type?

Feature Request

Module Name

avm/res/network/private-dns-zone

(Optional) Module Version

used latest version

Description

(Using Private DNS Zone as example. Also for other resources it would be helpful to have this capability.)

I create Private DNS Zones as part of a landing zone enablement for some app service based Applications.
I have a pipeline using AVM to deploy the zones in a central resource group for private link.
During Application Deployment I use virtual network injection and therefore need to link the private DNS zones to the virtual network.
I achieved this recalling the module with the virtual network link included.

As I deploy using deployment stacks that results in the DNS zones being deleted when the stack is deleted with the "deleteAll" option.
Hence it would be nice if there would be a chance to use only the "submodule" in my application deployment.

Module: https://github.com/Azure/bicep-registry-modules/tree/main/avm/res/network/private-dns-zone
"Submodule": https://github.com/Azure/bicep-registry-modules/tree/main/avm/res/network/private-dns-zone/virtual-network-link

(Optional) Correlation Id

No response

Metadata

Metadata

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions