Skip to content

Commit

Permalink
Fix #83 - reverse IDE refactoring of ec2 metadata string
Browse files Browse the repository at this point in the history
  • Loading branch information
jtblin committed Jun 14, 2017
1 parent 45725c0 commit 2adfe6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iam/iam.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func GetInstanceIamRole() (string, error) {
if !metadata.Available() {
return "", fmt.Errorf("EC2 Metadata is not available, are you running on EC2?")
}
iamRole, err := metadata.GetMetadata("Client/security-Credentials/")
iamRole, err := metadata.GetMetadata("iam/security-credentials/")
if err != nil {
return "", err
}
Expand Down

0 comments on commit 2adfe6d

Please sign in to comment.