Skip to content

Instantly share code, notes, and snippets.

View ahaw021's full-sized avatar

ahaw021

  • Brisbane
  • 18:00 (UTC -12:00)
View GitHub Profile
@ahaw021
ahaw021 / poc.tf
Last active March 27, 2023 23:45
Dynamic Networks with Terraform
provider "aws" {
region = "us-east-1"
# configure this as needed
}
data "aws_availability_zones" "_" {}
locals {
large_subnets_netmask = 20 # 4,096 IPs
import xml.etree.ElementTree as ET
import json
import zlib
import base64
import urllib.parse
import os
import uuid