google-ip-ranges
chadasapp/google-ip-ranges/dns
Terraform module to dynamically get the CIDR ranges for GSuite services
Google CIDR Range Terraform module This module queries Google's published CIDR ranges from TXT records attached to several _netblock*.google.com domains. This is the documented process for doing so specifically for outbound SMTP for SPF records, but contains the helpful note that those ranges are utilized for _all_ GSuite services. Basically we take those records, strip out the data we don't want, extract the IPv4 and IPv6 CIDR ranges and return them. Great for AWS Security Groups where you want to whitelist incoming GSuite traffic but don't want to maintain a whitelist by hand. Usage ``hcl module "google_ip_ranges" { source = "github.com/ASAPPinc/terraform-google-ip-ranges?ref=v0.0.1" } resource "aws_security_group" "example" { name = "allow-google-smtp" vpc_id = "vpc-12345" description =
| Name | Type | Description | Default |
|---|---|---|---|
| google_netblock_domains | list | The domains under which Google publishes their CIDR ranges as TXT records. You p | [
"_netblocks.google.com",
"_netbloc |
ipv4_cidrsipv6_cidrsall_cidrs