terraform-data-duo-ips/README.md

64 lines
1.9 KiB
Markdown
Raw Normal View History

2021-02-09 19:05:48 +00:00
# terraform-data-duo-ips ![License:MIT](https://img.shields.io/badge/license-MIT-blue.svg) ![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/captn3m0/terraform-data-duo-ips?sort=semver) ![GitHub last commit](https://img.shields.io/github/last-commit/captn3m0/terraform-data-duo-ips)
2019-04-18 11:12:41 +00:00
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
```hcl
2020-09-08 08:23:32 +00:00
module "duo-ips" {
source = "captn3m0/duo-ips/data"
2021-12-21 08:53:45 +00:00
version = "1.2.0"
2019-04-18 11:12:41 +00:00
}
resource "aws_security_group_rule" "allow_all_to_duo" {
type = "egress"
from_port = 0
to_port = 443
protocol = "tcp"
2020-09-08 08:23:32 +00:00
cidr_blocks = ["${module.duo-ips.cidr}"]
2019-04-18 11:12:41 +00:00
security_group_id = "sg-123456"
}
```
## Changelog
2021-12-21 08:53:45 +00:00
### 1.2.0
- Added new CIDRs
2021-05-03 07:42:27 +00:00
### 1.1.0
- Removed `http://` from hostname values.
### 1.0.3
2021-02-09 19:02:00 +00:00
- Changed the terraform registry module name from [`duo-whitelist`](https://registry.terraform.io/modules/captn3m0/duo-whitelist) to [`duo-ips`](https://registry.terraform.io/modules/captn3m0/duo-ips).
- Renamed `duo_ad_hostnames_us` to `ad_hostnames_us`
2020-09-08 08:23:32 +00:00
## Outputs
2019-04-18 11:12:41 +00:00
The following outputs are exported:
2020-09-08 08:23:32 +00:00
### ad\_hostnames\_ca
2019-04-18 11:12:41 +00:00
2020-09-08 08:23:32 +00:00
Description: Map of Duo's Microsoft Azure Active Directory Conditional Access application for Canada deployments
2019-04-18 11:12:41 +00:00
2020-09-08 08:23:32 +00:00
### ad\_hostnames\_eu
2019-04-18 11:12:41 +00:00
2020-09-08 08:23:32 +00:00
Description: Map of Duo's Microsoft Azure Active Directory Conditional Access application for Europe deployments
2019-04-18 11:12:41 +00:00
2020-09-08 08:23:32 +00:00
### cidrs
Description: List of all Duo Service CIDRs. Allow for egress to Duo
### ad\_hostnames\_us
2020-09-08 08:23:32 +00:00
Description: Map of Duo's Microsoft Azure Active Directory Conditional Access application for US deployments
### trusted\_endpoints\_cidrs
Description: List of Duo's Trusted Endpoint CIDRs. Allow for ingress from Duo
2019-04-18 11:12:41 +00:00
# LICENSE
Licensed under MIT. See [nemo.mit-license.org](https://nemo.mit-license.org/) for complete text.