Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aws/ec2metadata: Add support for EC2 User Data #872

Merged
merged 1 commit into from
Oct 5, 2016

Conversation

jasdel
Copy link
Contributor

@jasdel jasdel commented Oct 5, 2016

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

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 aws#852
@jasdel jasdel merged commit 5717392 into aws:master Oct 5, 2016
@jasdel jasdel deleted the feature/ec2metaUserdata branch October 5, 2016 19:30
jasdel added a commit that referenced this pull request Oct 6, 2016
Service Model Updates
---
`service/cognitoidentityprovider`: Update Amazon Cognito Identity Provider service model
`service/devicefarm`: Update AWS Device Farm documentation
`service/opsworks`: Update AWS OpsWorks service model
`service/s3`: Update Amazon Simple Storage Service model
`service/waf`: Update AWS WAF service model

SDK Bug Fixes
---
`aws/request`: Fix HTTP Request Body race condition #874

SDK Feature Updates
---
`aws/ec2metadata`: Add support for EC2 User Data #872
`aws/signer/v4`: Remove logic determining if request needs to be resigned #876
@jasdel jasdel mentioned this pull request Oct 6, 2016
jasdel added a commit that referenced this pull request Oct 6, 2016
Service Model Updates
---
`service/cognitoidentityprovider`: Update Amazon Cognito Identity Provider service model
`service/devicefarm`: Update AWS Device Farm documentation
`service/opsworks`: Update AWS OpsWorks service model
`service/s3`: Update Amazon Simple Storage Service model
`service/waf`: Update AWS WAF service model

SDK Bug Fixes
---
`aws/request`: Fix HTTP Request Body race condition #874

SDK Feature Updates
---
`aws/ec2metadata`: Add support for EC2 User Data #872
`aws/signer/v4`: Remove logic determining if request needs to be resigned #876
skotambkar pushed a commit to skotambkar/aws-sdk-go that referenced this pull request May 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant