OrchesTerra
ProductUse CasesFeaturesPricingManaged DevSecOpsNewBlogResources
Sign inStart trial
  1. Home
  2. /Terraform examples

Terraform examples

Terraform examples for common architectures

Complete configurations you can read, copy, and adapt. Each one passes terraform validate and tofu validate, and explains the security and cost choices it makes.

AWS

Terraform Example: Static Website on S3 and CloudFront

A complete Terraform example for hosting a static website on AWS: a private S3 bucket served through CloudFront with Origin Access Control and HTTPS.

AWS

Terraform Example: Serverless API with API Gateway, Lambda and DynamoDB

A complete Terraform example for a serverless REST API on AWS: an API Gateway HTTP API, a Node.js Lambda function, and a DynamoDB table with least-privilege IAM.

AWS

Terraform Example: Container Web App on ECS Fargate with a Load Balancer

A complete Terraform example for running a containerized web app on AWS ECS Fargate behind an Application Load Balancer, in an existing VPC, with automatic rollback.

Google Cloud

Terraform Example: Cloud Run with Cloud SQL PostgreSQL on Google Cloud

A complete Terraform example for Google Cloud: a Cloud Run service connected to Cloud SQL PostgreSQL, with the database password in Secret Manager and a dedicated service account.

Platform evaluation

See OrchesTerra on your infrastructure

Request access to generate architecture from a repository, review the plan, and run governed reconciliation across AWS, Azure, GCP, and OCI.

Start 14-day trialSee pricing
OrchesTerra

AI-native infrastructure orchestration for modern platform teams, and a DevSecOps team that can run it for you.

Product

  • Infrastructure Generation
  • Approval Workflows
  • Drift Reconciliation
  • Governance Engine
  • Orbit AI
  • Disaster Recovery

Services

  • Managed DevSecOps
  • Onboarding & migration
  • Talk to the team

Plans

  • Pricing
  • Start 14-day trial
  • Contact sales

Learn

  • Use Cases
  • Features
  • Blog
  • Definitions
  • Compare
  • Terraform Examples
  • Resources

Resources

  • Start trial
  • Privacy Policy

Orbit

The AI orchestration engine powering infrastructure intent, governance, and execution.

© 2026 OrchesTerra

Privacyorchesterra.in