From 1cfe23462728513b3558ff69819193783e2af1d6 Mon Sep 17 00:00:00 2001 From: James Armes Date: Wed, 27 Nov 2024 13:20:33 -0500 Subject: [PATCH] fix: Updated formatting. --- main.tf | 2 +- rules.tf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/main.tf b/main.tf index deaf040..60be7ba 100644 --- a/main.tf +++ b/main.tf @@ -348,7 +348,7 @@ resource "aws_wafv2_web_acl" "waf" { for_each = length(var.upload_paths) > 0 ? [true] : [] content { - name = "${local.prefix}-waf-upload-paths" + name = "${local.prefix}-waf-upload-paths" priority = 550 override_action { diff --git a/rules.tf b/rules.tf index ada6635..0b5ee5c 100644 --- a/rules.tf +++ b/rules.tf @@ -1,8 +1,8 @@ resource "aws_wafv2_rule_group" "uploads" { for_each = length(var.upload_paths) > 0 ? toset(["this"]) : toset([]) - name = "${local.prefix}-waf-allow-uploads" - scope = "CLOUDFRONT" + name = "${local.prefix}-waf-allow-uploads" + scope = "CLOUDFRONT" capacity = 11 visibility_config {