rundeck-plugins / rundeck-ec2-nodes-plugin

Get resource node data from Amazon EC2
86 stars 45 forks source link

How to use different username than the default one? #83

Closed boyke-triwahyudi closed 5 years ago

boyke-triwahyudi commented 6 years ago

Most of the server I used are using Ubuntu, and I've configured resources.source.2.config.mappingParams=username.default\=ubuntu

How if I want to connect to a server that needs a different username? eg. ec2-user?

Thanks

gschueler commented 6 years ago

you could set the value as an instance Tag in ec2 console, and then define a mapping for the username selector. If the Tag is not set, it will fallback to the default