File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ package test
55
66import (
77 "testing"
8- "strings"
98 "github.com/stretchr/testify/assert"
109 "github.com/gruntwork-io/terratest/modules/terraform"
1110)
@@ -26,10 +25,10 @@ func Test(t *testing.T) {
2625 defer terraform .Destroy (t , terraformOptions )
2726
2827 // To get the value of an output variable, run 'terraform output'
29- Id := strings . Join ( terraform .OutputList (t , terraformOptions , "id" ), " " )
28+ Id := terraform .Output (t , terraformOptions , "id" )
3029 Tags := terraform .OutputMap (t , terraformOptions , "tags" )
3130
3231 // Verify we're getting back the outputs we expect
3332 assert .Contains (t , Id , "s-" )
34- assert .Equal (t , "test-redis-cd " , Tags ["Name" ])
33+ assert .Equal (t , "test-sftp-clouddrove " , Tags ["Name" ])
3534}
You can’t perform that action at this time.
0 commit comments