Skip to content

feat(azure): vnet module#279

Draft
mww59 wants to merge 2 commits intomainfrom
mw/az-vnet-mdule
Draft

feat(azure): vnet module#279
mww59 wants to merge 2 commits intomainfrom
mw/az-vnet-mdule

Conversation

@mww59
Copy link
Copy Markdown
Collaborator

@mww59 mww59 commented Apr 28, 2026

Creates a Virtual Network for NBS

Comment thread terraform/azure/modules/0_landing_zone/vnet/main.tf Outdated
jolson490
jolson490 previously approved these changes May 4, 2026
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 4, 2026

}

variable "subnets" {
type = map(object({
Copy link
Copy Markdown
Contributor

@jolson490 jolson490 May 4, 2026

Choose a reason for hiding this comment

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

Hey there @mww59 . I'm pretty sure there's a merge functionality with Terraform and a map, so that the caller of a module can pass in just the parts they want to specify/change, and the rest of the map doesn't have to be specified anywhere (e.g. the optional lines here). I'd have to look into it more. I think this is good for now, and we could simplify this code later.

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.

Please feel free to let me know Mike when this PR is no longer a draft, and then I'll promptly (re-)review it.

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