Skip to content

Commit cd4c146

Browse files
committed
chore: apply formatting
1 parent e782de1 commit cd4c146

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

infra/cdn/ngwaf.tf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ output "ngwaf_service_id" {
6262

6363
# Fastly Service Dictionary Items
6464
resource "fastly_service_dictionary_items" "edge_security_dictionary_items" {
65-
count = var.activate_ngwaf_service ? 1 : 0
65+
count = var.activate_ngwaf_service ? 1 : 0
6666
service_id = fastly_service_vcl.ngwaf_service[0].id
6767
dictionary_id = [for d in fastly_service_vcl.ngwaf_service[0].dictionary : d.dictionary_id if d.name == var.edge_security_dictionary][0]
6868
items = {
@@ -72,31 +72,31 @@ resource "fastly_service_dictionary_items" "edge_security_dictionary_items" {
7272

7373
# Fastly Service Dynamic Snippet Contents
7474
resource "fastly_service_dynamic_snippet_content" "ngwaf_config_init" {
75-
count = var.activate_ngwaf_service ? 1 : 0
75+
count = var.activate_ngwaf_service ? 1 : 0
7676
service_id = fastly_service_vcl.ngwaf_service[0].id
7777
snippet_id = [for d in fastly_service_vcl.ngwaf_service[0].dynamicsnippet : d.snippet_id if d.name == "ngwaf_config_init"][0]
7878
content = "### Fastly managed ngwaf_config_init"
7979
manage_snippets = false
8080
}
8181

8282
resource "fastly_service_dynamic_snippet_content" "ngwaf_config_miss" {
83-
count = var.activate_ngwaf_service ? 1 : 0
83+
count = var.activate_ngwaf_service ? 1 : 0
8484
service_id = fastly_service_vcl.ngwaf_service[0].id
8585
snippet_id = [for d in fastly_service_vcl.ngwaf_service[0].dynamicsnippet : d.snippet_id if d.name == "ngwaf_config_miss"][0]
8686
content = "### Fastly managed ngwaf_config_miss"
8787
manage_snippets = false
8888
}
8989

9090
resource "fastly_service_dynamic_snippet_content" "ngwaf_config_pass" {
91-
count = var.activate_ngwaf_service ? 1 : 0
91+
count = var.activate_ngwaf_service ? 1 : 0
9292
service_id = fastly_service_vcl.ngwaf_service[0].id
9393
snippet_id = [for d in fastly_service_vcl.ngwaf_service[0].dynamicsnippet : d.snippet_id if d.name == "ngwaf_config_pass"][0]
9494
content = "### Fastly managed ngwaf_config_pass"
9595
manage_snippets = false
9696
}
9797

9898
resource "fastly_service_dynamic_snippet_content" "ngwaf_config_deliver" {
99-
count = var.activate_ngwaf_service ? 1 : 0
99+
count = var.activate_ngwaf_service ? 1 : 0
100100
service_id = fastly_service_vcl.ngwaf_service[0].id
101101
snippet_id = [for d in fastly_service_vcl.ngwaf_service[0].dynamicsnippet : d.snippet_id if d.name == "ngwaf_config_deliver"][0]
102102
content = "### Fastly managed ngwaf_config_deliver"

0 commit comments

Comments
 (0)