infra.new logo

Terraform Modules & Providers

Native integrations with public module registries and provider documentation

Overview

infra.new has native integrations with public Terraform module registries and optimized provider documentation. The agent uses these to generate accurate, customized infrastructure code.

Public Module Registries

Full support for AWS, GCP, and Azure public Terraform modules. The agent pulls module source code to learn correct integration patterns.

AWS Modules

VPC, EKS, RDS, and more from the official AWS registry

GCP Modules

GKE, Cloud SQL, VPC, and more from the official GCP registry

Azure Modules

AKS, Virtual Networks, and more from the official Azure registry

Provider Documentation

Optimized Terraform provider documentation for major cloud providers. The agent uses these to customize resources for your specific use case.

  • AWS - Complete provider documentation
  • GCP - Complete provider documentation
  • Azure - Complete provider documentation
  • Cloudflare - Complete provider documentation
  • Kubernetes - Complete provider documentation

How It Works

The agent combines module source code with provider documentation to generate infrastructure code that follows best practices:

  1. Fetches module source code - Pulls the latest module code from public registries
  2. Reads provider documentation - Accesses optimized docs for resource configuration
  3. Generates customized code - Combines both to create infrastructure tailored to your requirements

šŸ’” This approach significantly reduces hallucinations and ensures generated code uses correct module patterns and resource configurations.

Benefits

  • Accurate module usage - Learns from actual module source code
  • Provider-specific best practices - Uses official documentation
  • Up-to-date configurations - Always uses latest module and provider versions
  • Reduced hallucinations - Grounded in real code and documentation

Private Modules (Self-Hosted Only)

The self-hosted version of infra.new supports private Terraform modules from Spacelift and Terraform Cloud registries.

Spacelift

Connect your Spacelift module registry to use internal modules

Terraform Cloud

Connect your Terraform Cloud private module registry

Interested in private modules? Book a call at /demo to learn more about the self-hosted version.