IaC Bazaar
LinodeStatic-verified

Linode VPC with Subnets

Isolated VPC network with labeled subnets ready for instances, LKE, and NodeBalancer backends.

terraformAlt & Specialty Clouds#linode

Compare Virtual Private Cloud (VPC) across clouds →

linode-vpcterraform v1.7

Verification

Static-verified

Passed: validated and lint-clean (provider-schema-validated for AWS/Azure/GCP; Terraform-language lint elsewhere).

Conformance

  • Static validation (fmt · validate · tflint)
  • Security scan: findings disclosed (Checkov)
  • Plan tests (mocked: validation rules · outputs)

Provenance

  • SHA-256 checksum
  • Signature (pending)

Functional

  • Live test pending (no cloud run yet)

Last verified 2026-06-28 · how we verify

Documentation

linode-vpc

Isolated VPC network with labeled subnets ready for instances, LKE, and NodeBalancer backends. Works with Terraform and OpenTofu (>= 1.6), Linode provider >= 3.14, < 4.0.

What you get:

  • A linode_vpc plus any number of linode_vpc_subnets from a single map
  • Input validation for labels, regions, and subnet CIDRs (catches Linode's reserved 192.168.128.0/17 class of mistakes at plan time)
  • A subnets output shaped for direct wiring into instance VPC interfaces, LKE clusters, and NodeBalancers

Usage

module "vpc" {
  source = "./linode-vpc"

  label  = "prod-network"
  region = "us-ord"

  subnets = {
    app = { ipv4 = "10.0.1.0/24" }
    db  = { ipv4 = "10.0.2.0/24" }
  }
}

Inputs

NameTypeDefaultDescription
labelstringVPC label (required)
regionstringLinode region with VPC capability, e.g. us-ord (required)
descriptionstring"Managed by Terraform (IaC Bazaar linode-vpc)"Free-form description
subnetsmap(object)Subnet label => { ipv4 = CIDR } (required)

Outputs

NameDescription
vpc_idVPC ID
vpc_labelVPC label
subnetsMap of subnet label => { id, ipv4 }

Requirements

  • Terraform or OpenTofu >= 1.6
  • linode/linode provider >= 3.14, < 4.0
  • VPC is not available in every Linode region — check the VPCs capability with linode-cli regions list before applying.

Verification

Static-validated (fmt, validate, tflint). Live apply/destroy testing pending cloud sandbox availability — see catalog status.

License

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