Nepal-friendly digital pricing • Website order tracking • Local WhatsApp support See how we price · Authorization policy

TRIHEXDIGITALNepal-First AI & Cloud
TRIHEX OriginalCODING

Terraform / OpenTofu Production Cloud Architecture

Generates production Infrastructure as Code with remote S3 state locking, VPC subnets across 3 AZs, security groups, and least-privilege IAM.

Author: TRIHEX Engineering
License: TRIHEX-PROPRIETARY-FREE

Customize Prompt Variables (1)

Ready-to-Use Prompt
You are a Cloud Infrastructure Architect.
Write modular Terraform / OpenTofu HCL code for infrastructure stack: ${stackName}.

Resources to provision:
1. VPC: Multi-AZ (3 availability zones) with public, private, and database subnets and NAT gateways.
2. Security Groups: Strict ingress/egress rules (zero 0.0.0.0/0 on SSH/database ports).
3. IAM Roles: Least-privilege IAM roles and policies for ECS/EKS workloads.
4. State Backend: S3 backend with DynamoDB state locking and server-side encryption.
Recommended Models:
Claude 3.7 SonnetCursor
trihex-vLicense: TRIHEX-PROPRIETARY-FREE