generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
bugSomething isn't workingSomething isn't working
Description
When userdata exits with an error, the error handling checks output and tries to classify the error to print out some helpful message (with content type).
This message is confusing when scripts themselves run into issues that "grok" as exec format errors (intended to help determine issues with the provided userdata script itself, not from errors in the userdata script's execution).
Concerned line:
| return fmt.Sprintf("provided user data is not executable (detected type: %s)", contentType), nil |
Instead, we should only print the helpful message when the userdata itself is found to be an unsuitable format.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working