Skip to content

Generalised private endpoint module - #407

Open
abatallas wants to merge 4 commits into
mainfrom
abatallas/private_endpoint_module
Open

Generalised private endpoint module#407
abatallas wants to merge 4 commits into
mainfrom
abatallas/private_endpoint_module

Conversation

@abatallas

Copy link
Copy Markdown
Contributor

This PR creates a set of files to create a private endpoint for either storage or MySQL and removes those files specific to storage accounts.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The new module invocation fails validation, and the MySQL DNS zone is incorrect for AzureCloud.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Generalizes private endpoint and DNS provisioning for Blob Storage and MySQL.

Changes:

  • Extracts reusable private endpoint, DNS zone, and VNet-link modules.
  • Moves storage networking out of the storage module.
  • Generalizes private DNS zone types.
File summaries
File Description
bicep/vnetLink.bicep Adds reusable VNet linking.
bicep/types.bicep Generalizes DNS zone types.
bicep/storage.bicep Removes networking and exports storage ID.
bicep/storage-vnetLink.bicep Removes storage-specific linking.
bicep/storage-newDnsZone.bicep Removes storage-specific DNS creation.
bicep/privateEndpoint.bicep Adds generalized endpoint orchestration.
bicep/privateDnsZone.bicep Adds reusable DNS zone creation.
bicep/mainTemplate.bicep Uses the generalized DNS type.
bicep/ccw.bicep Wires storage into the new endpoint module.
Review details
  • Files reviewed: 9/9 changed files
  • Comments generated: 2
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread bicep/ccw.bicep
Comment thread bicep/privateEndpoint.bicep Outdated
@abatallas
abatallas force-pushed the abatallas/private_endpoint_module branch from c1ca722 to 656d787 Compare September 4, 2026 16:49
@abatallas
abatallas requested a balanced review from Copilot September 4, 2026 16:50

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

Existing-zone handling, sovereign-cloud DNS names, and resource-specific tags are currently incorrect.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review details
  • Files reviewed: 9/9 changed files
  • Comments generated: 3
  • Review effort level: Balanced

Comment thread bicep/privateEndpoint.bicep Outdated
Comment thread bicep/privateEndpoint.bicep Outdated
Comment thread bicep/ccw.bicep
@abatallas
abatallas force-pushed the abatallas/private_endpoint_module branch from 656d787 to aaa4f7d Compare September 4, 2026 18:11
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