From 897bf5e53d69cfc50748f664433fff35b8fd4eb6 Mon Sep 17 00:00:00 2001 From: Sander van Harmelen Date: Tue, 5 May 2015 20:38:35 +0200 Subject: [PATCH] Added `SharedCredentialsProvider` and `EC2RoleProvider` as well... --- state/remote/s3.go | 2 ++ 1 file changed, 2 insertions(+) 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.