diff --git a/state/remote/s3.go b/state/remote/s3.go index 771995950..6db07d070 100644 --- a/state/remote/s3.go +++ b/state/remote/s3.go @@ -41,6 +41,8 @@ func s3Factory(conf map[string]string) (Client, error) { SessionToken: "", }}, &credentials.EnvProvider{}, + &credentials.SharedCredentialsProvider{Filename: "", Profile: ""}, + &credentials.EC2RoleProvider{}, }) // Make sure we got some sort of working credentials.