Skip to content

Simulator IaC#78

Open
DakotaCondos wants to merge 3 commits into
mainfrom
Simulator-IaC
Open

Simulator IaC#78
DakotaCondos wants to merge 3 commits into
mainfrom
Simulator-IaC

Conversation

@DakotaCondos
Copy link
Copy Markdown
Contributor

@DakotaCondos DakotaCondos commented May 26, 2026

Summary

Adds infrastructure and deployment support for the Robot Simulator.

This PR introduces a standalone Terraform module for the simulator Container App, adds a GitHub Actions workflow to build and deploy simulator images, and documents the current deployment model plus the path for integrating this work into the future project-wide IaC stack.

Changes

  • Added Iac/simulator/ Terraform configuration for the Robot Simulator Container App
  • References existing Azure resources including the resource group, Container Apps environment, ACR, and Event Hub namespace
  • Configures the simulator Container App with:
    • external ingress on port 8080
    • single revision mode
    • fixed scale of one replica
    • system-assigned managed identity
    • ACR image reference
  • Preserves existing Event Hub environment variables and secrets by excluding them from Terraform ownership for now
  • Added .github/workflows/simulator-deploy.yml to build and push simulator images to ACR and update the Container App image
  • Added simulator deployment documentation and an IaC integration guide
  • Updated the repo README image path

DakotaCondos and others added 3 commits May 24, 2026 15:12
- Iac/simulator/: standalone Terraform module for the simulator
  Container App. Uses data sources for all existing Azure resources
  (resource group, Container Apps env, ACR, Event Hub namespace).
  Owns structural Container App config (ingress, registry, scale,
  identity) while excluding live Event Hub env vars via
  lifecycle.ignore_changes.
- .github/workflows/simulator-deploy.yml: image-only deploy workflow
  triggered on RobotSimulator/** changes. Preserves live Container App
  env/secrets — no --set-env-vars.
- docs/simulator-deployment.md: deployment guide covering IaC ownership
  boundary, manual terraform apply steps, workflow trigger, and known
  limitations.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Add simulator-only Terraform module under Iac/simulator/
- Reference existing Azure resources and preserve live Event Hub env vars
- Add GitHub Actions workflow for image-only simulator deployment
- Document simulator deployment and future IaC integration
@philspokas philspokas requested a review from a team May 27, 2026 18:27
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.

1 participant