Skip to content

feat: New Pattern Module avm/ptn/sa/content-generation #6722

Merged
AlexanderSehr merged 25 commits intoAzure:mainfrom
Ravikirana-Microsoft:avm-ptn-sa-content-gen
Apr 20, 2026
Merged

feat: New Pattern Module avm/ptn/sa/content-generation #6722
AlexanderSehr merged 25 commits intoAzure:mainfrom
Ravikirana-Microsoft:avm-ptn-sa-content-gen

Conversation

@Pavan-Microsoft
Copy link
Copy Markdown
Contributor

@Pavan-Microsoft Pavan-Microsoft commented Mar 16, 2026

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

  • Added new directory avm/ptn/sa/content-generation with 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]
  • Created a CHANGELOG.md in the new module directory to track changes and document the initial release.

CI/CD and Workflow Integration

  • Added a dedicated GitHub Actions workflow file (.github/workflows/avm.ptn.sa.content-generation.yml) for the new module, supporting validation and deployment scenarios.

Repository Ownership and Issue Management

  • Updated .github/CODEOWNERS to assign ownership of the new module to relevant Azure teams.
  • Modified .github/ISSUE_TEMPLATE/avm_module_issue.yml to 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

Pipeline
avm.ptn.sa.content-generation

Type of Change

  • Azure Verified Module updates:
    • Bugfix containing backwards-compatible bug fixes, and I have NOT bumped the MAJOR or MINOR version in version.json:
    • Feature update backwards compatible feature updates, and I have bumped the MINOR version in version.json.
    • Breaking changes and I have bumped the MAJOR version in version.json.
    • Update to documentation
  • Update to CI Environment or utilities (Non-module affecting changes)

Checklist

  • I'm sure there are no other open Pull Requests for the same update/change
  • I have run Set-AVMModule locally to generate the supporting module files.
  • My corresponding pipelines / checks run clean and green without any errors or warnings
  • I have updated the module's CHANGELOG.md file with an entry for the next version

Pavan-Microsoft and others added 7 commits March 6, 2026 16:07
- 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.
@Pavan-Microsoft Pavan-Microsoft requested a review from a team as a code owner March 16, 2026 14:54
@microsoft-github-policy-service microsoft-github-policy-service Bot added Needs: Triage 🔍 Maintainers need to triage still Type: AVM 🅰️ ✌️ Ⓜ️ This is an AVM related issue labels Mar 16, 2026
Comment thread avm/ptn/sa/content-generation/tests/e2e/sandbox/main.test.bicep
Comment thread avm/ptn/sa/content-generation/tests/e2e/sandbox/main.test.bicep Outdated
@Pavan-Microsoft Pavan-Microsoft force-pushed the avm-ptn-sa-content-gen branch from b8755b0 to 5e7ff0c Compare April 8, 2026 11:05
Pavan-Microsoft and others added 12 commits April 8, 2026 16:38
- 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.
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 AlexanderSehr merged commit 65ec36b into Azure:main Apr 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs: Triage 🔍 Maintainers need to triage still Type: AVM 🅰️ ✌️ Ⓜ️ This is an AVM related issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants