rundeck-plugins / rundeck-ec2-nodes-plugin

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

Adding AWS EC2 nodes to Rundeck #84

Closed dragan1979 closed 6 years ago

dragan1979 commented 6 years ago

I'm trying to use the ec2 nodes plugin but having some problem.After putting the jar in libext, i can see the AWS resource model type.I provided the access key and secret key as part of configuration but can't see my nodes in the list.

I know i need to edit some mapping file, something like this:

use Name tag for node name

name.selector=tags/Name hostname.selector=privateIpAddress description.default=Ec2 node instance osArch.selector=architecture osFamily.selector=platform osFamily.default=unix osName.selector=platform osName.default=Linux username.selector=tags/Rundeck-User username.default=root editUrl.default=https://console.aws.amazon.com/ec2/home#c=EC2&s=Instances attribute.privateIpAddress.selector=privateIpAddress attribute.privateDnsName.selector=privateDnsName tags.selector=tags/Rundeck-Tags

But don't know location of this file

Could somebody please help me?

dragan1979 commented 6 years ago

Got it working by specifying endpoint and code above in mapping parameters