From fca6674677e5c14c476ddc6798c36b07197cc0e3 Mon Sep 17 00:00:00 2001 From: Angie Pinilla Date: Wed, 31 Mar 2021 00:00:01 -0400 Subject: [PATCH] terrafmt and changelog entry --- .changelog/18494.txt | 3 +++ aws/resource_aws_securityhub_insight_test.go | 26 ++++++++++---------- 2 files changed, 16 insertions(+), 13 deletions(-) create mode 100644 .changelog/18494.txt diff --git a/.changelog/18494.txt b/.changelog/18494.txt new file mode 100644 index 000000000000..1cb4873fcb85 --- /dev/null +++ b/.changelog/18494.txt @@ -0,0 +1,3 @@ +```release-note:new-resource +aws_securityhub_insight +``` \ No newline at end of file diff --git a/aws/resource_aws_securityhub_insight_test.go b/aws/resource_aws_securityhub_insight_test.go index d27216d713b3..2fcc627ac279 100644 --- a/aws/resource_aws_securityhub_insight_test.go +++ b/aws/resource_aws_securityhub_insight_test.go @@ -521,9 +521,9 @@ resource "aws_securityhub_insight" "test" { filters { created_at { date_range { - unit = "DAYS" - value = 5 - } + unit = "DAYS" + value = 5 + } } } @@ -564,7 +564,7 @@ resource "aws_securityhub_account" "test" {} resource "aws_securityhub_insight" "test" { filters { network_destination_ipv4 { - cidr = "10.0.0.0/16" + cidr = "10.0.0.0/16" } } @@ -603,10 +603,10 @@ resource "aws_securityhub_account" "test" {} resource "aws_securityhub_insight" "test" { filters { - product_fields { - comparison = "EQUALS" + product_fields { + comparison = "EQUALS" key = "key1" - value = "value1" + value = "value1" } } @@ -635,16 +635,16 @@ resource "aws_securityhub_insight" "test" { value = "09876543210" } - product_fields { - comparison = "EQUALS" + product_fields { + comparison = "EQUALS" key = "key1" - value = "value1" + value = "value1" } product_fields { - comparison = "EQUALS" + comparison = "EQUALS" key = "key2" - value = "value2" + value = "value2" } } @@ -663,7 +663,7 @@ resource "aws_securityhub_account" "test" {} resource "aws_securityhub_insight" "test" { filters { - confidence { + confidence { %s } }