Skip to main content
Apply changes to your infrastructure.

Usage

Aliases

  • apply

Description

The deploy command synthesizes your configuration and runs terraform apply to create, update, or delete infrastructure resources.

Options

Examples

Basic Usage

You will be prompted to approve the changes.

Specific Stack

Auto-Approve (CI/CD)

Skip the interactive approval prompt:

Skip Synthesis

Use when you’ve already run tfts synth:

Target Specific Resources

Deploy only specific resources:

CI/CD Usage

For automated deployments:
Or with environment-specific stacks:

Automatic Initialization

If the stack hasn’t been initialized, tfts deploy automatically runs terraform init before applying.