---
name: terraform-aws-vpc-designer
description: "Generate Terraform configuration files for a secure AWS VPC layout. Use when the user wants help with Terraform AWS VPC Designer. Related topics: coding, devops, terraform."
---

# Terraform AWS VPC Designer

Generate Terraform configuration files for a secure AWS VPC layout.

## How to use this skill

1. Ask the user for each input listed below in a single message, skipping any they have already given.
2. Where options are listed, offer them, but accept other answers too.
3. Fill the answers into the prompt template, then follow the completed prompt to produce the result.

## Inputs

- **VPC Name** (free text, e.g. "")
- **CIDR Block** (choose one: 10.0.0.0/16, 172.16.0.0/16, 192.168.0.0/16)
- **Number of Availability Zones** (number from 2 to 4)
- **Private subnets** (choose one: Yes, No)
- **Public subnets** (choose one: Yes, No)
- **Deploy NAT Gateway** (choose one: Single NAT, One per AZ, None)

## Prompt template

## Introduction
Design a secure, multi-AZ AWS Virtual Private Cloud configuration in Terraform.

## Network Details
- VPC Name: {{VPC Name}}
- CIDR Block: {{CIDR Block}}
- Number of Availability Zones: {{Number of Availability Zones}}

## Subnet Options
- Private subnets: {{Private subnets}}
- Public subnets: {{Public subnets}}
- Deploy NAT Gateway: {{Deploy NAT Gateway}}

---

Source: [Terraform AWS VPC Designer on PromptBuild](https://promptbuild.io/prompt/6kV0jzkhjo32jsImkhr4/terraform-aws-vpc-designer)
