Skip to content

Terraform Backend

Coming Soon

The Terraform backend is planned for a future release.

Overview

Terraform provides:

  • HCL configuration generation
  • Multi-cloud support
  • Terraform Cloud integration
  • Extensive provider ecosystem
  • State management flexibility

Planned Features

  • HCL file generation
  • Terraform Cloud integration
  • State management options
  • Module generation
  • Plan and apply workflows

When to Use

Choose Terraform when:

  • Team has Terraform expertise
  • Multi-cloud deployments
  • Existing Terraform infrastructure
  • Want HCL files for review

Configuration Preview

OmniDeploy will generate Terraform HCL:

# Generated by omnideploy

resource "aws_lightsail_container_service" "my_app" {
  name        = "my-app"
  power       = "micro"
  scale       = 1
  is_disabled = false
}

resource "aws_lightsail_container_service_deployment_version" "my_app" {
  service_name = aws_lightsail_container_service.my_app.name

  container {
    container_name = "my-app"
    image          = "nginx:latest"

    ports = {
      80 = "HTTP"
    }
  }

  public_endpoint {
    container_name = "my-app"
    container_port = 80

    health_check {
      path = "/health"
    }
  }
}

Usage Preview

# Generate Terraform files
omnideploy generate --config deploy.yaml --backend terraform --output ./terraform/

# Review
cd terraform
terraform plan

# Apply
terraform apply