Skip to content

Right-size Azure DC02 memory - #431

Merged
mkultraWasHere merged 1 commit into
mainfrom
codex/azure-dc02-memory-sizing
Aug 13, 2026
Merged

Right-size Azure DC02 memory#431
mkultraWasHere merged 1 commit into
mainfrom
codex/azure-dc02-memory-sizing

Conversation

@mkultraWasHere

Copy link
Copy Markdown
Contributor

DC02 carries the recurring attack-simulation workload and needs more memory than the other Azure lab hosts. This makes that sizing declarative so subsequent Terragrunt applies preserve it.

Added

  • Per-host goad_instance_sizes defaults in generated Azure environments, with DC02 on Standard_D4s_v3 and the remaining GOAD hosts on Standard_D2s_v3.
  • Regression coverage for the generated Azure environment configuration.
  • Azure provider documentation for sizing overrides and existing-environment migration.

Changed

  • Standard Azure GOAD host templates now resolve VM size from the environment map, with a Standard_D2s_v3 fallback for missing or partial configuration.

Notes

  • Environments created before this change still contain hard-coded host sizes. Set instance_size = "Standard_D4s_v3" in their existing dc02/terragrunt.hcl before the next apply.

@dreadnode-renovate-bot dreadnode-renovate-bot Bot added the area/docs Changes made to documentation label Aug 13, 2026
@mkultraWasHere
mkultraWasHere requested a balanced review from Copilot August 13, 2026 14:25

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Makes Azure GOAD VM sizing declarative, allocating additional memory to DC02.

Changes:

  • Adds per-host Azure VM size defaults with a safe fallback.
  • Updates environment generation and regression coverage.
  • Documents overrides and migration guidance.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
infra/azure/goad-deployment/test/env.hcl Defines per-host size defaults.
infra/azure/goad-deployment/test/centralus/goad/dc01/terragrunt.hcl Resolves DC01 size from environment settings.
infra/azure/goad-deployment/test/centralus/goad/dc02/terragrunt.hcl Resolves DC02’s larger size.
infra/azure/goad-deployment/test/centralus/goad/dc03/terragrunt.hcl Resolves DC03 size from environment settings.
infra/azure/goad-deployment/test/centralus/goad/srv02/terragrunt.hcl Resolves SRV02 size from environment settings.
infra/azure/goad-deployment/test/centralus/goad/srv03/terragrunt.hcl Resolves SRV03 size from environment settings.
docs/mkdocs/docs/providers/azure.md Documents sizing and migration.
cli/cmd/env_cmd.go Generates Azure sizing defaults.
cli/cmd/env_cmd_test.go Tests generated sizing values.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@mkultraWasHere
mkultraWasHere added this pull request to the merge queue Aug 13, 2026
Merged via the queue into main with commit b5d6baa Aug 13, 2026
10 checks passed
@mkultraWasHere
mkultraWasHere deleted the codex/azure-dc02-memory-sizing branch August 13, 2026 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/docs Changes made to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants