-
Notifications
You must be signed in to change notification settings - Fork 883
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ec2: Support double encoded userdata (#4276)
ec2: Support double encoded userdata The Amazon APIs expect userdata to be base64 encoded when passed as input to e.g. RunInstances. A number of tools, including the AWS CLI, perform this base64 encoding implicitly, but it's common for users to base64 encode the data prior to passing it to them. This results in two layers of base64 encoding and effectively results in a failed EC2 launch. This change adds the ability to decode the redundant layer of encoding. Fixes amazonlinux/amazon-linux-2023#401 Signed-off-by: Noah Meyerhans <[email protected]>
- Loading branch information
1 parent
9cc3b8f
commit 6588373
Showing
7 changed files
with
44 additions
and
48 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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -108,6 +108,7 @@ netcho | |
nicolasbock | ||
nishigori | ||
nkukard | ||
nmeyerhans | ||
olivierlemasle | ||
omBratteng | ||
onitake | ||
|