Skip to main content

Synthesize Infrastructure

Stable

Type: DEVRAMPS:INFRASTRUCTURE: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

ParameterTypeDescription
requiresApprovalenum: ALWAYS | NEVER | DESTRUCTIVE_CHANGES_ONLY
sourcestringPath to Terraform configuration relative to repository root.
variablesobjectVariables to pass to Terraform configuration.

Example Usage

- type: DEVRAMPS:INFRASTRUCTURE:SYNTHESIZE
name: Deploy Infrastructure
params:
requiresApproval: DESTRUCTIVE_CHANGES_ONLY
source: ./terraform/staging
variables:
environment: staging
instance_count: 2