24
24
{"", &providerConfig{region: aws.USEast, auth: testAuth}, ""},
25
25
{"region: eu-west-1\n", &providerConfig{region: aws.EUWest, auth: testAuth}, ""},
26
26
{"region: unknown\n", nil, ".*invalid region name.*"},
27
{"region: test\n", &providerConfig{region: testRegion, auth: testAuth}, ""},
27
{"region: configtest\n", &providerConfig{region: configTestRegion, auth: testAuth}, ""},
28
28
{"region: 666\n", nil, ".*expected string, got 666"},
29
29
{"access-key: 666\n", nil, ".*expected string, got 666"},
30
30
{"secret-key: 666\n", nil, ".*expected string, got 666"},