Skip to content

Commit

Permalink
PLT-0 - Drop support for version parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Engerim committed Dec 27, 2024
1 parent c42f56d commit 124ce5c
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This Terraform module manages Cloudflare Rulesets.

| Name | Version |
|------|---------|
| <a name="provider_cloudflare"></a> [cloudflare](#provider\_cloudflare) | ~> 4.20 |
| <a name="provider_cloudflare"></a> [cloudflare](#provider\_cloudflare) | ~> 4.48 |

<!-- TFDOCS_PROVIDER_END -->

Expand All @@ -28,7 +28,7 @@ This Terraform module manages Cloudflare Rulesets.
| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | ~> 1.3 |
| <a name="requirement_cloudflare"></a> [cloudflare](#requirement\_cloudflare) | ~> 4.20 |
| <a name="requirement_cloudflare"></a> [cloudflare](#requirement\_cloudflare) | ~> 4.48 |

<!-- TFDOCS_REQUIREMENTS_END -->

Expand Down Expand Up @@ -115,7 +115,6 @@ list(object({
# phase: http_request_firewall_managed, action: block, challenge, js_challenge, log, managed_challenge, skip
id = optional(string)
version = optional(string)
overrides = optional(object({
action = optional(string)
categories = optional(list(object({
Expand Down
1 change: 0 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ resource "cloudflare_ruleset" "this" {

# http_request_firewall_managed
id = action_parameters.value.id
version = action_parameters.value.version
dynamic "overrides" {
for_each = rules.value.action_parameters.overrides[*]
content {
Expand Down
1 change: 0 additions & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ variable "rules" {

# phase: http_request_firewall_managed, action: block, challenge, js_challenge, log, managed_challenge, skip
id = optional(string)
version = optional(string)
overrides = optional(object({
action = optional(string)
categories = optional(list(object({
Expand Down
2 changes: 1 addition & 1 deletion versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
cloudflare = {
source = "cloudflare/cloudflare"
version = "~> 4.20"
version = "~> 4.48"
}
}
required_version = "~> 1.3"
Expand Down

0 comments on commit 124ce5c

Please sign in to comment.