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

User Data content should be base64 encoded when passed to aws sdk #121

Closed
litjoco opened this issue May 20, 2015 · 1 comment · Fixed by #128
Closed

User Data content should be base64 encoded when passed to aws sdk #121

litjoco opened this issue May 20, 2015 · 1 comment · Fixed by #128
Assignees
Labels

Comments

@litjoco
Copy link

litjoco commented May 20, 2015

When using 0.9.0 and supplying a file to user_data the create action throws an error:

------Exception-------
Class: Kitchen::ActionFailed
Message: Failed to complete #create action: [Invalid BASE64 encoding of user data]
---Nested Exception---
Class: Aws::EC2::Errors::InvalidParameterValue
Message: Invalid BASE64 encoding of user data

If the user data file used has base64 encoded content then the create action is successful

The content of the user data file should be base64 encoded when being provided to aws sdk

@tyler-ball
Copy link
Contributor

Thanks for this bug report. You are correct, AWS expects the content to be base64 encoded. Working on a fix now that will go out in a patch release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants