Skip to content

[INFRA] Standardize variable management (issue #15)#5

Closed
kristopherjturner wants to merge 2 commits into
mainfrom
feature/issue-15-variable-standardization
Closed

[INFRA] Standardize variable management (issue #15)#5
kristopherjturner wants to merge 2 commits into
mainfrom
feature/issue-15-variable-standardization

Conversation

@kristopherjturner
Copy link
Copy Markdown
Contributor

Summary

Consolidates variable documentation and adds schema validation as part of the org-wide variable management standardization initiative.

Changes

  • Rewrote \docs/reference/variables.md\ with full sectioned YAML format matching \config/variables.example.yml\
  • Added naming rules, Key Vault resolution, and tool-specific mapping sections
  • Replaced \docs/standards/variables.md\ with redirect to reference
  • Added \config/schema/variables.schema.json\
  • Added \�alidate-config.yml\ CI workflow

Related

Rewrite reference/variables.md with full sectioned YAML format matching
config/variables.example.yml. Add naming rules, Key Vault resolution,
and tool-specific mapping sections. Replace standards page with redirect.

Part of AzureLocal/azurelocal.github.io#15
Add config/schema/variables.schema.json for validating variables.example.yml.
Add CI workflow that validates example config against schema on PR.

Part of AzureLocal/azurelocal.github.io#15
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR consolidates variable documentation into a single “Variable Reference” page and introduces automated validation to ensure config/variables.example.yml stays schema-compliant.

Changes:

  • Replaces docs/standards/variables.md with a pointer to the consolidated reference page.
  • Expands docs/reference/variables.md into a full, sectioned configuration reference (examples + tables).
  • Adds a JSON Schema for config/variables.example.yml plus a GitHub Actions workflow to validate it on changes.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 5 comments.

File Description
docs/standards/variables.md Converts the prior standards page into a “moved” notice linking to the new consolidated reference.
docs/reference/variables.md Rewrites and significantly expands the variable reference content (examples, tables, Key Vault + tool mapping sections).
config/schema/variables.schema.json Introduces a draft-07 JSON schema to validate the structure/required keys of config/variables.example.yml.
.github/workflows/validate-config.yml Adds CI to validate YAML parsing and JSON Schema compliance for config/variables.example.yml.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

# Variable Reference

All deployment parameters consolidated from every tool's parameter file.
All deployment tools read from a single central configuration file: `config/variables.yml`. This file is the **single source of truth** — your architecture decisions, sizing, identity settings, and infrastructure IDs are declared here and consumed by every automation tool.
Comment on lines +84 to +87
| `control_plane.load_balancer_type` | string | Pooled | `BreadthFirst` or `DepthFirst` | `BreadthFirst` |
| `control_plane.max_session_limit` | integer | Pooled | Max concurrent sessions per host | `16` |
| `control_plane.preferred_app_group_type` | string | **Yes** | `Desktop`, `RailApplications`, or `None` | `Desktop` |
| `control_plane.personal_assignment_type` | string | Personal | `Automatic` or `Direct` | `Automatic` |
Comment on lines +217 to +218
2. Tool calls `az keyvault secret show --vault-name kv-iic-platform --name avd-local-admin-password`
3. Secret value is passed directly to the deployment — never written to disk
Comment on lines +236 to +238
| **Bicep** | `*.bicepparam` | `avd/bicep/` |
| **Terraform** | `terraform.tfvars` | `avd/terraform/` |
| **ARM** | `*.parameters.json` | `avd/arm/` |
pull_request:
branches: [main]
paths:
- 'config/**'
@kristopherjturner
Copy link
Copy Markdown
Contributor Author

Superseded by #6 which now includes all issue-15 variable standardization changes merged with issue-14 unified standards.

@kristopherjturner kristopherjturner deleted the feature/issue-15-variable-standardization branch March 22, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority/medium Planned solution/avd Azure Virtual Desktop type/infra CI/CD, workflows, repo config

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants