TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Adding Support for HashiCorp Cloud Agent to OS Terraform Enterprise Alternative

2 pointsby mrmattyboyabout 2 years ago
Hi all,<p>I&#x27;ve been working on (what turned out to be a fairly large) proof of concept open source Terraform Cloud&#x2F;Enterprise alternative, Terrarun.<p>Over the past weekend, I&#x27;ve been adding support for the official Hashicorp Cloud agent, which is now working.<p>The entire project is fairly hacky at the moment (lacking tests, a good UI etc.) - partially because has to constantly change as I learn more things whilst implementing their APIs.<p>This particular adventure has been particularly note-worthy, given there is _no_ documentation for the agent APIs and, given that I haven&#x27;t signed up for a Hashicorp Cloud account, absolutely no knowledge about how the communication _should_ work, without trial-and-error and cryptic messages :D<p>Hopefully if anyone else is trying to do the same, they can use as &quot;some sort&quot; of a reference to see how the APIs should work (though, I&#x27;m not saying they&#x27;re absolutely complete - the agent seems to be a little lax on missing attributes)<p>Needless to say, I could find absolutely no resources, so hopefully this will help someone at some point :D<p>https:&#x2F;&#x2F;github.com&#x2F;MatthewJohn&#x2F;terrarun&#x2F;commit&#x2F;5900c7bfed6c4f66cb71ac84f694eb5003187039<p>(and yes, apologies for the license littered across the code, I&#x27;ve been meaning to fix it - I&#x27;ve previously preferred to provide a &quot;real&quot; open source license when a project is at the point I think it&#x27;s usable, stable&#x2F;trustworthy and something people might want to run&#x2F;fork)<p>Many thanks :)

no comments

no comments