-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
aws/ec2metadata: Add support for EC2 User Data (#872)
Adds the `GetUserData` method to `EC2Metadata` client. This allows you to get instance user data from the `/latest/user-data` EC2 metadata endpoint. If the instance does not have any data set the error code `NotFoundError` will be returned. If any data is set that value as a string will be returned by the method. Fix #852
- Loading branch information
Showing
2 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters