File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 11package test
22
33import (
4- "os"
54 "fmt"
65 "strings"
76 "testing"
@@ -14,13 +13,11 @@ import (
1413
1514// An example of how to test the Terraform module in examples/terraform-aws-endpoint-example using Terratest.
1615func TestTerraformAwsEndpointExample (t * testing.T ) {
17- t .Parallel ()
18-
1916 // Set a custom endpoint for AWS, and set the keys to dummy keys to
2017 // pass that check
21- os .Setenv ("TERRATEST_CUSTOM_AWS_ENDPOINT" , "http://localhost:5000" )
22- os .Setenv ("AWS_ACCESS_KEY_ID" , "dummy" )
23- os .Setenv ("AWS_SECRET_ACCESS_KEY" , "dummy" )
18+ t .Setenv ("TERRATEST_CUSTOM_AWS_ENDPOINT" , "http://localhost:5000" )
19+ t .Setenv ("AWS_ACCESS_KEY_ID" , "dummy" )
20+ t .Setenv ("AWS_SECRET_ACCESS_KEY" , "dummy" )
2421
2522 // Give this S3 Bucket a unique ID for a name tag so we can distinguish it from any other Buckets provisioned
2623 // in your AWS account
You can’t perform that action at this time.
0 commit comments