Skip to content

Commit

Permalink
Do not set name for default
Browse files Browse the repository at this point in the history
  • Loading branch information
grem11n committed Nov 4, 2024
1 parent 737fef7 commit 78f98b6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/peering-active_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package test

import (
"strings"
"testing"

"github.com/gruntwork-io/terratest/modules/terraform"
Expand Down Expand Up @@ -64,7 +65,10 @@ func TestConnectionName(t *testing.T) {

tfVars["this_vpc_id"] = thisVpcID
tfVars["peer_vpc_id"] = peerVpcID
tfVars["name"] = tc.expected
// This is a hack, but I'm too tired to figure out something better
if strings.EqualFold(tc.name, "CustomName") {
tfVars["name"] = tc.expected
}

// Terraform Options for module
moduleTerraformOptions := &terraform.Options{
Expand Down

0 comments on commit 78f98b6

Please sign in to comment.