Synthesize Infrastructure
Type: DEVRAMPS:TERRAFORM:SYNTHESIZE
Category: infrastructure
Version: 1.0.0
Description
Synthesizes and applies Terraform infrastructure changes.
Runs Terraform to synthesize and apply infrastructure changes for the stage. Supports approval workflows for destructive changes, automatic plan generation, and state management. Variables can be passed to customize the Terraform configuration.
Parameters
Required Parameters
| Parameter | Type | Description |
|---|---|---|
requires_approval | enum: ALWAYS | NEVER | DESTRUCTIVE_CHANGES_ONLY | |
source | string | Path to Terraform configuration relative to repository root. |
variables | object | Variables to pass to Terraform configuration. |
Example Usage
- type: DEVRAMPS:TERRAFORM:SYNTHESIZE
name: Deploy Infrastructure
params:
requires_approval: DESTRUCTIVE_CHANGES_ONLY
source: ./terraform/staging
variables:
environment: staging
instance_count: 2