Skip to content

Commit

Permalink
Fixed the formating error
Browse files Browse the repository at this point in the history
  • Loading branch information
markoskandylis committed Dec 5, 2023
1 parent 9984e3d commit 9560d75
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions internal/service/securitylake/data_lake_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,10 @@ func testAccDataLakeConfigBaseConfig(rName string) string {
data "aws_caller_identity" "current" {}
resource "aws_iam_role" "meta_store_manager" {
Expand Down Expand Up @@ -468,9 +472,9 @@ resource "aws_iam_role_policy" "datalake_s3_replication" {
}
resource "aws_kms_key" "test" {
deletion_window_in_days = 7
policy = <<POLICY
deletion_window_in_days = 7
policy = <<POLICY
{
"Version": "2012-10-17",
"Id": "kms-tf-1",
Expand All @@ -495,12 +499,13 @@ func testAccDataLakeConfig_basic(rName string) string {
//lintignore:AWSAT003,AWSAT005
return acctest.ConfigCompose(testAccDataLakeConfigBaseConfig(rName), fmt.Sprintf(`
resource "aws_securitylake_data_lake" "test" {
meta_store_manager_role_arn = aws_iam_role.meta_store_manager.arn
configurations {
region = "eu-west-1"
}
tags = {
Name = %[1]q
Expand All @@ -515,14 +520,16 @@ func testAccDataLakeConfig_lifeCycle(rName string) string {
return acctest.ConfigCompose(testAccDataLakeConfigBaseConfig(rName), fmt.Sprintf(`
resource "aws_securitylake_data_lake" "test" {
meta_store_manager_role_arn = aws_iam_role.meta_store_manager.arn
configurations {
region = "eu-west-1"
encryption_configuration {
kms_key_id = aws_kms_key.test.id
kms_key_id = aws_kms_key.test.id
}
lifecycle_configuration {
Expand Down Expand Up @@ -551,14 +558,15 @@ func testAccDataLakeConfig_lifeCycleUpdate(rName string) string {
//lintignore:AWSAT003,AWSAT005
return acctest.ConfigCompose(testAccDataLakeConfigBaseConfig(rName), fmt.Sprintf(`
resource "aws_securitylake_data_lake" "test" {
meta_store_manager_role_arn = aws_iam_role.meta_store_manager.arn
configurations {
region = "eu-west-1"
encryption_configuration {
kms_key_id = aws_kms_key.test.id
kms_key_id = aws_kms_key.test.id
}
lifecycle_configuration {
Expand Down

0 comments on commit 9560d75

Please sign in to comment.