From 82724b6c2b102075bcabdccc964b7087c8012e11 Mon Sep 17 00:00:00 2001 From: Ryan Parman Date: Mon, 25 Mar 2024 20:21:20 -0600 Subject: [PATCH] Ran linter against Go code. --- tests/standard/aws_resource_tags_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/standard/aws_resource_tags_test.go b/tests/standard/aws_resource_tags_test.go index 71b5638..50f92bc 100644 --- a/tests/standard/aws_resource_tags_test.go +++ b/tests/standard/aws_resource_tags_test.go @@ -68,7 +68,7 @@ func TestAwsResourceTags(t *testing.T) { } defer test_structure.RunTestStage(t, "destroy", func() { - terraformOptions := test_structure.LoadTerraformOptions(t, tmpDir) + terraformOptions = test_structure.LoadTerraformOptions(t, tmpDir) terraform.Destroy(t, terraformOptions) }) @@ -80,10 +80,10 @@ func TestAwsResourceTags(t *testing.T) { test_structure.RunTestStage(t, "outputs", func() { terraformOptions := test_structure.LoadTerraformOptions(t, tmpDir) instanceTags := terraform.OutputMap(t, terraformOptions, "common_tags") - randomId := terraform.Output(t, terraformOptions, "random_id") + randomID := terraform.Output(t, terraformOptions, "random_id") expectedTags := map[string]string{ - "app": fmt.Sprintf("sample-app-%s", randomId), + "app": fmt.Sprintf("sample-app-%s", randomID), "env": "sandbox", "managed_by": "opentofu", }