Commit 802d26a3 authored by Mike Horwath's avatar Mike Horwath
Browse files

upgrading to new provider

parent 15d0ff94
Pipeline #1836 passed with stage
in 10 seconds
......@@ -49,13 +49,13 @@ N/A
| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.13 |
| <a name="requirement_cloudflare"></a> [cloudflare](#requirement\_cloudflare) | ~> 2.0 |
| <a name="requirement_cloudflare"></a> [cloudflare](#requirement\_cloudflare) | ~> 3.0 |
## Providers
| Name | Version |
|------|---------|
| <a name="provider_cloudflare"></a> [cloudflare](#provider\_cloudflare) | 2.24.0 |
| <a name="provider_cloudflare"></a> [cloudflare](#provider\_cloudflare) | 3.7.0 |
## Modules
......
......@@ -4,7 +4,7 @@ resource "cloudflare_access_rule" "whitelisted_ip" {
notes = var.notes
mode = "whitelist"
configuration = {
configuration {
target = "ip_range"
value = element(var.whitelist_ips, count.index)
}
......@@ -16,7 +16,7 @@ resource "cloudflare_access_rule" "blacklisted_ip" {
notes = var.notes
mode = "block"
configuration = {
configuration {
target = "ip_range"
value = element(var.blacklist_ips, count.index)
}
......
......@@ -3,7 +3,7 @@ terraform {
required_providers {
cloudflare = {
source = "cloudflare/cloudflare"
version = "~> 2.0"
version = "~> 3.0"
}
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment