This message was deleted.
# golang
s
This message was deleted.
1
s
Ahh figured it out on my own. Since stack is an object, its value should be a json string in the config map:
Copy code
func TestExamples(t *testing.T) {
	cwd, _ := os.Getwd()
	integration.ProgramTest(t, &integration.ProgramTestOptions{
		Quick:       true,
		SkipRefresh: true,
		Dir:         cwd,
        Config: map[string]string{
			"gcp:project": "my-gcp-project-name",
			"stack": `{
				"project": "my-gcp-project-name",
				"ephemeral": true,
				"region": {
					"short": "US",
					"long": "us-east1-b"
				}
			}`,
		},
	})
}