Generate a starter Terraform configuration in seconds. Pick a cloud provider, enter your region and resource details, then copy main.tf into your project.
Always run terraform init and terraform plan, and review the proposed changes before running terraform apply.
How to Use
- Choose your cloud provider: AWS, Azure or Google Cloud.
- Enter the region or location, a resource prefix and a machine size.
- Press Generate config to build main.tf.
- Press Copy, save the output as main.tf, then run terraform init and terraform plan.
Key Features
- Three providers covered — generates configs for AWS, Azure and Google Cloud.
- Working starter resources — includes an EC2 instance, a resource group or a Compute Engine VM.
- Smart defaults — sensible machine sizes and regions are filled in automatically.
- 100% private — runs entirely in your browser; nothing is sent or stored.
FAQs
How do I use the generated config?
Save it as main.tf in an empty folder, run terraform init to download the provider, then terraform plan to preview the changes before applying.
Is the AWS AMI ID current?
The template uses a placeholder Amazon Linux AMI. Replace it with a current AMI for your chosen region before applying.
Why does Azure not ask for a machine size?
The Azure template creates a resource group, the starting point for Azure deployments. Add virtual machines and other resources to it as needed.
Is my data sent anywhere?
No. Everything runs entirely in your browser and never transmits or saves your entries.
Related Tools
Try these related tools: Dockerfile Generator, Nginx Config Generator and Env Generator.