Skip to content
This repository has been archived by the owner on Aug 4, 2023. It is now read-only.

Fixed EC2 Credentials #4

Merged
merged 1 commit into from
Dec 20, 2018
Merged

Fixed EC2 Credentials #4

merged 1 commit into from
Dec 20, 2018

Conversation

onetwopunch
Copy link
Contributor

@onetwopunch onetwopunch commented Dec 20, 2018

Go AWS SDK is not clear that the ec2metadata client must be created and attached to the EC2RoleProvider struct. If the client pointer is nil, the program will panic due to a nil memory dereference.

Also fixed some things in the terraform example that were found in the wild.

@onetwopunch onetwopunch merged commit 582a58d into master Dec 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant