feat: New Pattern Module avm/ptn/sa/content-generation #6722
Merged
AlexanderSehr merged 25 commits intoAzure:mainfrom Apr 20, 2026
Merged
feat: New Pattern Module avm/ptn/sa/content-generation #6722AlexanderSehr merged 25 commits intoAzure:mainfrom
AlexanderSehr merged 25 commits intoAzure:mainfrom
Conversation
- Introduced new Bicep modules for AI project creation, container instance deployment, and virtual network setup. - Added role assignment module for existing AI Services accounts to facilitate RBAC. - Implemented web site module with extensive configuration options for various app types. - Created configuration module for site app settings to manage application insights and storage accounts. - Added end-to-end tests for sandbox and WAF-aligned deployments to ensure functionality. - Versioning file created to track module versioning.
- Changed default resource group name to include 'rg1' suffix. - Updated enforced location from 'swedencentral' to 'eastus2' for consistency across tests.
- Changed default resource group name to remove trailing '1'. - Updated enforced location from 'eastus2' to 'swedencentral' for consistency across environments.
- Changed default value of 'tags' parameter to nullable in ai-project.bicep, container-instance.bicep, and virtualNetwork.bicep modules. - Updated template hashes and added languageVersion in main.json. - Refactored resource references to improve clarity and maintainability.
b8755b0 to
5e7ff0c
Compare
- Updated Cognitive Services account and project API versions to 2025-12-01. - Updated Virtual Network module version to 0.8.0. - Added new test configuration for defaults deployment. - Adjusted README and example references for clarity.
…a-Microsoft/bicep-registry-modules into avm-ptn-sa-content-gen
This reverts commit c3f2189. Reverting the changes that updated resource API versions (CognitiveServices accounts/projects from 2025-10-01-preview to 2025-12-01), module version bumps (cognitive-services/account 0.14.1->0.14.2, virtual-network 0.7.2->0.8.0), renamed test folder from sandbox to defaults, and removed location parameter from the defaults test. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Changed the enforced location for testing from 'swedencentral' to 'australiaeast' in both sandbox and WAF-aligned test configurations.
- Changed enforcedLocation from 'australiaeast' to 'eastus2' in both sandbox and waf-aligned test configurations.
- Changed enforcedLocation from 'eastus2' to 'swedencentral' in both sandbox and waf-aligned test configurations.
- Added 'resourceLocation' parameter to main.test.bicep for sandbox and WAF-aligned tests. - Updated resource group location to use 'resourceLocation' instead of a hardcoded value.
- Set default values for monitoring, scalability, redundancy, and private networking to true in main.bicep. - Update README examples for clarity and consistency. - Add new test file for 'Using only defaults' scenario. - Modify existing test files to reflect changes in parameter defaults.
AlexanderSehr
approved these changes
Apr 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request introduces a new Azure content generation module under
avm/ptn/sa/content-generation. It adds initial Bicep modules for deploying AI projects, container instances, role assignments, and networking, along with supporting files for CI/CD, ownership, and issue templates. The changes are grouped below by theme.Module Addition: Content Generation Solution
avm/ptn/sa/content-generationwith initial Bicep modules for AI project creation (ai-project.bicep), container instance deployment (container-instance.bicep), role assignment for AI services (deploy_foundry_role_assignment.bicep), and virtual network setup (virtualNetwork.bicep). [1] [2] [3] [4]CHANGELOG.mdin the new module directory to track changes and document the initial release.CI/CD and Workflow Integration
.github/workflows/avm.ptn.sa.content-generation.yml) for the new module, supporting validation and deployment scenarios.Repository Ownership and Issue Management
.github/CODEOWNERSto assign ownership of the new module to relevant Azure teams..github/ISSUE_TEMPLATE/avm_module_issue.ymlto include the new module in issue reporting options.These changes lay the groundwork for Azure content generation scenarios, providing modular infrastructure-as-code definitions, role management, and workflow automation for the new solution.
Pipeline Reference
Type of Change
version.json:version.json.version.json.Checklist
Set-AVMModulelocally to generate the supporting module files.