This module provides an updated list of Duo's public CIDRs. These are maintained against the Duo Documentation: https://help.duo.com/s/article/1337
Go to file
Nemo 625acbdcca Initial Commit 2019-04-18 16:42:41 +05:30
LICENSE Initial Commit 2019-04-18 16:42:41 +05:30
README.md Initial Commit 2019-04-18 16:42:41 +05:30
main.tf Initial Commit 2019-04-18 16:42:41 +05:30
outputs.tf Initial Commit 2019-04-18 16:42:41 +05:30
variables.tf Initial Commit 2019-04-18 16:42:41 +05:30

README.md

terraform-http-duo-whitelist

This module provides an updated list of Duo's public CIDRs. These are maintained against the Duo Documentation: https://help.duo.com/s/article/1337

Usage

module "duo-whitelist" {
  source  = "captn3m0/duo-whitelist/http"
  version = "1.0.0"
}

resource "aws_security_group_rule" "allow_all_to_duo" {
  type            = "egress"
  from_port       = 0
  to_port         = 443
  protocol        = "tcp"
  cidr_blocks     = ["${module.duo-whitelist.cidr}"]
  security_group_id = "sg-123456"
}

Outputs

The following outputs are exported:

cidrs

Description: List of all Duo Service CIDRs. Whitelist for egress

trusted_endpoints_cidrs

Description: Duo's Trusted Endpoint CIDRs. Whitelist for ingress

LICENSE

Licensed under MIT. See nemo.mit-license.org for complete text.