-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
Embedding terraform #16648
Comments
Hi @waghanza, Since we're still heavily developing Terraform's internal architecture, we aren't yet committing to maintaining internal API compatibility between versions, and indeed are expecting some quite significant refactoring in the near future. However, Terraform's Go packages can be used as libraries if desired, with the caveat that you should vendor a particular version of Terraform and expect to have to make updates when moving to new versions. This constraint applies whether you wrap Terraform in a REST API or via a shared library wrapper. At present we recommend using Terraform via its CLI as a child process, following the guidelines in our Running Terraform in Automation guide. The workflows suggested there are more likely to remain stable between releases (breaking changes are still possible but will be called out prominently in the changelog) and |
Hi, Thanks for this information. However, I do not understand when you speak about a Regards, |
"Statically-linked binary" means that the This is not true of some applications that may require shared libraries and thus would be harder to distribute without special compilation steps. |
Understood ;-) I'll create a REST api using go code |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Hi there,
I love
terraform
as a cloud agnostic building tool.However, I'd like to embed it into a third-party tool.
I have two options :
API
? #415)go
app could be compiled as aso
file)Those two solutions has their pros/cons, but I think a dynamic module is more flexible (to embed it into a desktop application).
What do you think ?
Regards,
The text was updated successfully, but these errors were encountered: