diff --git a/builder/amazon/common/access_config_test.go b/builder/amazon/common/access_config_test.go index cb26750e2..489bf08df 100644 --- a/builder/amazon/common/access_config_test.go +++ b/builder/amazon/common/access_config_test.go @@ -68,14 +68,3 @@ func TestAccessConfigPrepare_RegionRestricted(t *testing.T) { t.Fatal("We should be in gov region.") } } - -func TestAccessConfig_NoCredentialsFailsQuickly(t *testing.T) { - c := &AccessConfig{ - RawRegion: "not-empty", - } - _, err := c.Session() - if err == nil { - t.Errorf("AccessConfig.Session() error is nil") - return - } -}