allowlists
drand/allowlists/drand
A Terraform module to fetch and provide drand-published allowlists
terraform-drand-allowlists This is a Terraform module to retrieve drand allowlists. It can be used by members of the drand-networks to better automate their infrastructure by easily fetching drand.sh-maintained allowlists with their credentials. Usage To call the module you will need to provide your allowlists.drand.sh username and password, as well as the network (env), for example testnet. ``terraform module "allowlists" { source = "drand/allowlists/drand" version = "0.0.2" username = "yourusername" password = "yourpassword" env = "yourenv" } You can then use the module "cidrs" output somewhere else resource "type" "name" { allowlist = module.allowlist.cidrs } `` License This software is dual-licensed under Apache 2.0 and MIT terms: - Apache License, Version 2.0, (LICENSE-APACHE or http:
| Name | Type | Description | Default |
|---|---|---|---|
| password | string | The password to access the allowlists site | required |
| env | string | The drand environment to obtain the allowlist for (i.e. "testnet") | required |
| username | string | The username to access the allowlists site | required |
cidrs — A list of IPv4 CIDRs as specified in the allowlistcidrs6 — A list of IPv6 CIDRs as specified in the allowlist