Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discovery using value of tags for current instance #241

Open
marksmithson opened this issue Sep 2, 2015 · 0 comments
Open

Discovery using value of tags for current instance #241

marksmithson opened this issue Sep 2, 2015 · 0 comments

Comments

@marksmithson
Copy link

It would be very useful to be able to configure a cluster by selecting other instances based on the value of tag set on the current instance. This would allow an AMI to be created which will join a cluster based on the value set for a tag on the instance.

I am thinking of something like this:
discovery.ec2.tag.escluster: "{instance-value}"

{instance-value} would be replaced by the value of the escluster tag on the instance that the AMI is running on.

Is this worth pursuing or is there another way to do this? An alternative may be AWS instance data with cloud-init, but I have found this tricky to setup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant