AWSLive-testedattested

Production VPC (Multi-AZ)

Battle-tested multi-AZ VPC with public/private/database subnets, NAT, endpoints, and flow logs.

terraformAWSaws

Compare Virtual Private Cloud (VPC) across clouds →

Part of: AWS Production Landing Zone, AWS Container Platform (EKS)

aws-vpcvizier v1.2.0

Verification

Live-tested

Really deployed to a cloud sandbox, verified against its outputs and assertions, then destroyed - with the teardown confirmed.

Conformance

  • Static validation (fmt · validate · tflint)
  • Security scan clean (Checkov)
  • Plan test superseded by live test

Provenance

Functional

  • Live-tested - applied, verified, destroyed

Last verified 2026-06-11 · how we verify

Verify this download

cosign · sha-256

Don't take our word for it. Every release is signed with cosign - check the bytes against our pinned public key before you trust them.

# 1. Our pinned public key - fetch once, trust out-of-band
curl -O https://www.iac-bazaar.com/cosign.pub

# 2. This module's Sigstore bundle
curl -o aws-vpc-1.0.0.sigstore.json \
  https://www.iac-bazaar.com/api/artifacts/aws-vpc/signature

# 3. Verify the tarball you downloaded
cosign verify-blob \
  --key cosign.pub \
  --bundle aws-vpc-1.0.0.sigstore.json \
  aws-vpc-1.0.0.tar.gz
# → Verified OK

# 4. (optional) confirm the checksum too
echo "66f738d9c6d23978581f579534b7403c7cd9c74961ed5264735cf0b80b01b14a  aws-vpc-1.0.0.tar.gz" | sha256sum -c

Use it from the registry

terraform · opentofu
module "vpc" {
  source  = "www.iac-bazaar.com/iac-bazaar/aws-vpc/aws"
  version = "1.0.0"
}

Needs a registry token from /account/tokens. The module itself is free; the account is what identifies you. Full setup: registry docs.

Cite it in your README

badge · attribution

Paste this beside the module in the repository that uses it. The badge is rendered from this artifact's verification record, so it reads live-tested because the record says so, and the link lands on this page.

README.md, GitLab, Gitea
[![IaC Bazaar: live-tested](https://www.iac-bazaar.com/api/artifacts/aws-vpc/badge)](https://www.iac-bazaar.com/catalog/aws-vpc?utm_source=syndication&utm_medium=readme&utm_campaign=artifact)

Terraform module 1.0.0, live-tested on IaC Bazaar: [Production VPC (Multi-AZ)](https://www.iac-bazaar.com/catalog/aws-vpc?utm_source=syndication&utm_medium=readme&utm_campaign=artifact)

```hcl
module "vpc" {
  source  = "www.iac-bazaar.com/iac-bazaar/aws-vpc/aws"
  version = "1.0.0"
}
```

Preview:IaC Bazaar: live-tested

Inputs & outputs

Create a free account to read this module's contract

The declared contract - every input name, type, default and description, plus every output - is shown to signed-in accounts, not to anonymous visitors.

A free account sees the contract of every module in the catalogue. There is no subscription and nothing to buy - the modules are free to download, and they run under Vizier.

Documentation

aws-vpc — Production VPC (Multi-AZ)

Battle-tested multi-AZ VPC with public/private/database subnets, NAT, endpoints, and flow logs. Three subnet tiers (public, private-with-egress, fully isolated database), a NAT strategy dial (none / single / per_az), free S3/DynamoDB gateway endpoints attached to every route table, CloudWatch flow logs behind a least-privilege IAM role, and a stripped default security group — secure defaults you would otherwise assemble from a dozen resources by hand.

Works with Terraform and OpenTofu (>= 1.6), AWS provider >= 6.0, < 7.0.

Requirements

  • Terraform or OpenTofu >= 1.6
  • hashicorp/aws >= 6.0, < 7.0

License

Commercial — IaC Bazaar EULA. © IaC Bazaar. Original work (not derived from a third-party module).

Usage code & full reference need an account

The complete copy-paste usage, the full input/output reference, and operational notes are free with an account - shown here and bundled in the download. Sign in and this section fills in.

  • Usage
  • Inputs
  • Outputs
  • Cost notes

Related modules

Static validatedLive test pending

aws-vpc-lattice

auth_type defaults to NONE, so any client in any associated VPC can call any service with no identity and no policy - and associating one more VPC silently grants everything in it. Defaults to AWS_IAM and requires per-VPC security groups.

View module
Static validatedLive test pending

aws-vpc-peering

A VPC peering between two VPCs in one account and region, accepted in the same apply, with DNS resolution across it and routes written in every listed route table on both sides for every CIDR of the other. A default route through a peering is refused (CKV2_AWS_44). Peering is not transitive; past a handful of VPCs the transit gateway is the product.

View module
Static validatedLive test pending

aws-client-vpn

Remote-access VPN endpoint with certificate or SAML authentication, split tunnelling, per-group authorization rules and connection logging. There is no allow-all shortcut: an endpoint with no rule reaches nothing.

View module
Static validatedLive test pending

aws-cloud-map

Private DNS, public DNS or API-only namespaces and the services registered in them. Documents the health-check trap: a private namespace gets a custom check that something else must update, and one nobody updates reports healthy forever.

View module
Static validatedLive test pending

aws-cloud-wan

A global network whose segments, routing and attachment placement live in one policy document rather than per-region route tables. The policy VERSION is executed as a second step, so a change cannot report success while the network still runs the previous one.

View module
Static validatedLive test pending

aws-direct-connect

Gateway, connections, virtual interfaces and associations. A private circuit is a private path, not a private conversation: traffic crosses it in clear text unless MACsec is on, and should_encrypt quietly falls back to clear text.

View module