zone-lockdown
alicankustemur/zone-lockdown/cloudflare
Lockdown a specific URL on your zone to specific IP addresses. This is useful to protect an admin or protected area from non-specified IP addresses. https://registry.terraform.io/modules/alicankustemur/zone-lockdown/cloudflare/latest
Cloudflare Zone Lockdown Terraform Module Zone Lockdown Lockdown a specific URL on your zone to specific IP addresses. This is useful to protect an admin or protected area from non-specified IP addresses. Terraform versions Terraform ~> 0.13.0. Usage ``hcl module "zone_lockdown" { source = "terraform-cloudflare-modules/zone-lockdown" whitelist = [ "1.2.3.4/32", "5.6.7.8/32", ] urls = [ "example.com", "example.com/*", ] description = "Allow only example.com to whitelist" } ` Requirements | Name | Version | |------|---------| | terraform | >= 0.13.0 | | cloudflare | >= 2.11.0 | Providers | Name | Version | |------|---------| | cloudflare | >= 2.11.0 | Inputs | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| | whitelist | The whitelist IPs f
| Name | Type | Description | Default |
|---|---|---|---|
| string | The email associated with the account. | required | |
| api_key | string | The Cloudflare API key. | required |
| account_id | string | The Cloudflare Account ID. | required |
| whitelist | list(string) | The whitelist IPs for urls | required |
| zone_id | string | The DNS zone ID to which the access rule should be added. | required |
| urls | list(string) | A list of simple wildcard patterns to match requests against. | required |
| description | string | A description about the lockdown entry. | required |
whitelist — The whitelist IPs for urlsurls — The URLs restricted with whitelist