Open
Conversation
Flat infra/ layout optimised for workshop readability. Providers wired for azurerm (OIDC-ready), kubernetes and helm (from AKS output), azuread and random. Local state by default; backend.tf.example provided for Azure Storage migration. Placeholder files created for all subsequent tasks (aks, acr, identity, kubernetes, argocd, aks-mcp). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Simple flat networking for demo: /8 VNet, /16 AKS subnet. No NSGs or NAT gateway — demo environment only. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Basic SKU for demo; name auto-generated from random suffix if not provided via var.acr_name. Admin disabled — workload identity used for AKS pull access (role assignment added in aks.tf). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Standard_D4s_v3 x3 nodes, Azure CNI, OIDC issuer enabled, workload identity enabled. ACR pull role assigned to kubelet identity. Kubernetes and Helm providers wired to cluster kube_config output. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
4 federated credentials: environments copilot+demo, branch main, PRs. UAMI granted Contributor on RG and AKS Cluster Admin for workflow use. github_actions_env_vars output surfaces all ARM_* values needed for GitHub Actions secrets — no static credentials required. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…rnetes.tf) argocd and aks-mcp namespaces. Workload identity service account for aks-mcp with UAMI client ID annotation. Federated credential wiring the SA to the UAMI via the cluster OIDC issuer. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
argo-helm chart, notifications controller enabled (required for ArgoCD → GitHub webhook integration in Act-3). Admin password auto-generated, sensitive output. LoadBalancer service type. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Uses pre-created workload identity SA (kubernetes.tf). Workload identity pod label set so Azure SDK picks up federated token. Port 8000 — matches .copilot/mcp-config.json localhost reference. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Covers prerequisites, quick-start, post-apply commands, GitHub Actions secrets setup, and optional Azure Storage backend migration. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.
What changed
Adds
infra/— a complete Terraform deployment for the agentic-platform-engineering demo environment. This was explicitly listed as a TODO in the root README.What gets provisioned
rg-agentic-demo10.0.0.0/8VNet,10.240.0.0/16AKS subnetacragentic<suffix>, AKS pull access via role assignmentWhy it's safe to merge
terraform validatepasses clean — all 5 providers init and configuration is validinfra/is entirely newbackend.tf.exampleprovided for Azure Storage migrationARM_USE_OIDC=true)*.tfvarsexcluded via.gitignore; only*.tfvars.examplecommittedAfter merging
See
infra/README.mdfor full setup instructions. Minimum to get started:Closes: raykao/dark-factory#3