diff --git a/tests/pr_test.go b/tests/pr_test.go index 99388bd8..f6fee672 100644 --- a/tests/pr_test.go +++ b/tests/pr_test.go @@ -6,6 +6,14 @@ import ( "encoding/base64" "encoding/json" "fmt" + "io/fs" + "log" + mathrand "math/rand" + "os" + "path/filepath" + "strings" + "testing" + "github.com/gruntwork-io/terratest/modules/files" "github.com/gruntwork-io/terratest/modules/logger" "github.com/gruntwork-io/terratest/modules/random" @@ -16,13 +24,6 @@ import ( "github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper/common" "github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper/testhelper" "github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper/testschematic" - "io/fs" - "log" - mathrand "math/rand" - "os" - "path/filepath" - "strings" - "testing" ) const standardSolutionTerraformDir = "solutions/standard" @@ -178,6 +179,7 @@ func TestRunStandardSolutionSchematics(t *testing.T) { {Name: "service_credential_secrets", Value: serviceCredentialSecrets, DataType: "list(object)"}, {Name: "service_credential_names", Value: string(serviceCredentialNamesJSON), DataType: "map(string)"}, {Name: "admin_pass", Value: GetRandomAdminPassword(t), DataType: "string"}, + {Name: "admin_pass_secrets_manager_secret_group", Value: fmt.Sprintf("mysql-%s-admin-secrets", options.Prefix), DataType: "string"}, } err = options.RunSchematicTest() assert.Nil(t, err, "This should not have errored")