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

instance_id output should be the latest created instance #16

Open
cuotos opened this issue Sep 8, 2022 · 0 comments
Open

instance_id output should be the latest created instance #16

cuotos opened this issue Sep 8, 2022 · 0 comments

Comments

@cuotos
Copy link
Owner

cuotos commented Sep 8, 2022

if a change is required to the instance, the tf lifecycle will make sure a new one is created before terminating the other one.
But the instance_id output doesnt update until the end of the run.

this could possibly be fed from a data object listing all the diagnostic instances and just returning the ID of the most recent one, so that you can connect to it before the old has been destroyed.

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