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

exposing IDs of created aws instances #5

Open
jkryl opened this issue Oct 19, 2020 · 5 comments
Open

exposing IDs of created aws instances #5

jkryl opened this issue Oct 19, 2020 · 5 comments
Labels

Comments

@jkryl
Copy link

jkryl commented Oct 19, 2020

A noob question as I'm starting to experiment with the terraform. I have some other resources that I would like to create as part of creating the cluster. Additional EBS volume on each worker node. For that, I would need an instance ID of the worker node (resource aws_volume_attachment). Now is there a way how to get such information from the module? My understanding is that whatever is not defined in the outputs cannot be retrieved. And there are no instance IDs in the cluster_nodes output variable. Any suggestions would be welcomed. Thanks!

@weibeld
Copy link
Owner

weibeld commented Oct 19, 2020

Unfortunately, the EC2 instance IDs are currently not included in the output. But I noted this as a feature for the next release (see #6).

@jkryl
Copy link
Author

jkryl commented Oct 19, 2020

thanks! 👍

@jkryl
Copy link
Author

jkryl commented Oct 19, 2020

One more question. I need to specify an availability zone when creating EBS volume and availability zone for EBS and the instance that is using it must be the same. I think there are two ways how to solve that: either there should be an option for the availability zone where to create instances or the availability zone of an instance should be in the outputs (along with instance ID discussed previously).

@weibeld
Copy link
Owner

weibeld commented Oct 23, 2020

Also noted for the next release 👍

@weibeld weibeld added the 0.3.0 label Jan 12, 2023
@weibeld
Copy link
Owner

weibeld commented Jan 12, 2023

Additional info to expose in output:

  • EC2 instance ID
  • Availability zone

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

No branches or pull requests

2 participants