Skip to content

Commit

Permalink
state/remote/s3: match with upstream changes
Browse files Browse the repository at this point in the history
  • Loading branch information
phinze committed Aug 10, 2015
1 parent ca993a5 commit 1a44b42
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion state/remote/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/aws/credentials"
"github.com/aws/aws-sdk-go/aws/credentials/ec2rolecreds"
"github.com/aws/aws-sdk-go/service/s3"
)

Expand Down Expand Up @@ -55,7 +56,7 @@ func s3Factory(conf map[string]string) (Client, error) {
}},
&credentials.EnvProvider{},
&credentials.SharedCredentialsProvider{Filename: "", Profile: ""},
&credentials.EC2RoleProvider{},
&ec2rolecreds.EC2RoleProvider{},
})

// Make sure we got some sort of working credentials.
Expand Down

0 comments on commit 1a44b42

Please sign in to comment.