Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow setting the username of EC2 instance #52665
This change allows us to set a username for an EC2 instance based on its tags.
The documentation uses the
I think it is good practice to set a tag 'Username' on an EC2 instances, this allows me to automate connecting to the instance without statically providing a username for each instance.
In playbooks I do something similar to this: