MCMMCM DocsEngineering (Internal)
HLDModulesOrchestration
v1.2 is unreleased — see v1.1 for the current stable release.

Workspaces

Live infrastructure deployments created from Stacks, with drift detection and execution history.

Workspaces

A Workspace is a live infrastructure deployment instantiated from a Stack. It owns the actual cloud resources, Terraform state, execution history, and variable values for one deployment. Multiple workspaces can be created from the same stack (e.g. a "Production-Core" and "Staging-Core" workspace from a shared VPC stack).


Workspace Fields

FieldTypeDescription
idstringUnique identifier (e.g. ws-1)
namestringDisplay name (e.g. Production-Core)
descriptionstringPurpose of this deployment
statusHealthy / Drifted / Running / FailedCurrent deployment state
stackstringName of the Stack this was created from
versionstringStack version at provisioning time (e.g. v1.4.2)
environmentProduction / Staging / DevelopmentTarget environment
providerstringPrimary cloud provider (AWS, Azure, GCP)
accountIdsstring[]Associated cloud account IDs
resourceIdsstring[]IDs of managed cloud resources
resourcesnumberCount of managed resources
coststringEstimated monthly cost (e.g. $1,240/mo)
lastRunstringWhen the last plan/apply executed
createdBystringUser email who created the workspace
updatedAtISO datetimeLast modification timestamp
tagsstring[]Tags for filtering and organisation

Status Reference

StatusColourMeaning
HealthyGreenAll resources match the Terraform state
DriftedAmberLive resources differ from the recorded state
RunningBlueA plan or apply is currently executing
FailedRedThe last operation failed

Workspace Detail Tabs

Overview

Current deployment state — sync status, resource count, deployment health, drift alerts, and pending plans counter.

Files

All Terraform files (.tf, .tfvars, .tf.json) belonging to this workspace. Supports create, edit, and delete.

Pending Plans

Terraform plans awaiting review and apply. Each plan shows:

  • Resources to add, change, and destroy (+add, ~change, -destroy)
  • Who triggered the plan and when

Execution History

Log of every plan and apply run:

  • Status (Success, Partial, Failed)
  • Duration
  • Triggered by (user email or "System" for scheduled runs)
  • Timestamp

Resources

All cloud resources managed by this workspace — type, provider, status, and age.

Variables

Input variable values provided at workspace creation time. Shows key, value, type, and whether the value is sensitive (masked).

Outputs

Terraform output values produced by the last successful apply (e.g. VPC ID, subnet CIDRs, instance IPs).

Settings

  • General settings: name, description
  • Drift detection schedule (cron expression + timezone)
  • Auto-deprovision schedule
  • Danger zone: deprovision / delete workspace

Drift Detection

MCM runs scheduled drift detection against the Terraform state. When live cloud resources differ from the recorded state, the workspace moves to Drifted status and a drift alert appears on the Overview tab. Users can trigger a manual Detect Drift run at any time.


Terraform Operations

OperationDescription
initDownload provider plugins and modules
validateCheck .tf syntax without making API calls
planPreview the changes that apply would make
applyProvision or update cloud resources

On this page