Skip to content

Terraform 0.12 support #11

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

Closed
bendrucker opened this issue Jun 18, 2019 · 4 comments · May be fixed by #14
Closed

Terraform 0.12 support #11

bendrucker opened this issue Jun 18, 2019 · 4 comments · May be fixed by #14

Comments

@bendrucker
Copy link

I noticed the note in the readme:

This provider does not support Terraform v0.12 yet. There were some changes made that makes the upgrade non-trivial.

Could you share what parts of the upgrade you believe will be nontrivial? This provider would help us out a lot at @TakeScoop, happy to work on the upgrade and support future maintenance!

@stefansundin
Copy link
Owner

It appears that Terraform is forcing all plugins to close in v0.12, so it doesn't seem possible to keep the SSH connection open by just running them in go routines the way it is currently done.

My current thinking is that I'll try to just fork off a new process that can be sent configuration somehow, and then that new process will stay running as long as the main terraform process is running. When the terraform process terminates, the forked process can then exit as well.

I was planning to post in the Terraform mailing list to see if the people at HashiCorp have any better suggestions too, but I haven't had the time to do so yet.

@bendrucker
Copy link
Author

Much appreciated, that makes a lot of sense. HashiCorp has a new forum for technical discussion:

https://discuss.hashicorp.com/c/terraform-core

I'd be more than happy to take up this issue and put a write up on the forum soliciting comments, sound good?

@stefansundin
Copy link
Owner

Ah, nice. Sure, feel free to create a new topic. I just created a user over there so you can @-mention me in the topic if you'd like.

@bendrucker
Copy link
Author

bendrucker commented Aug 6, 2019

Sorry for the long delay/silence on this one. I summarized the state of this provider and the 0.12 issues in a post on the HashiCorp forum:

https://discuss.hashicorp.com/t/provider-plugins-that-live-for-the-duration-of-a-terraform-run/2262?u=bendrucker

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