https://platformengineering.org logo
#general
Title
# general
p

Prashant M

02/21/2023, 12:37 PM
Hello Friends, We are planning to build Terraform IaC self service platform and need your help and share your thoughts if anyone implemented any similar solution.
n

Neil Millard

02/21/2023, 2:49 PM
You mean like a terraform repo, that uses gitops to run terraform against your cloud provider accounts?
a

Abby Bangser

02/21/2023, 4:02 PM
I have used terraform modules to support templating platform offerings before. Semi-self service, but still depended on a PR review by the platform team. Similar to Neil’s question, can you describe more what you are hoping to achieve
p

Prashant M

02/22/2023, 5:15 AM
Thanks Neil and Abby for your inputs. Basically I'm thinking Terraform can be used to perform self-service to implement a front end that triggers one or more #terraform configs on the back end to provision infrastructure for others, some heavy lifting away from those individuals or teams, streamlining processes.
a

Abby Bangser

02/22/2023, 9:06 AM
Definitely makes sense to remove the heavy lifting. I have gone down a similar Terraform modules as a quick start for users before in a few different ways. IME this was not an amazing final state. In both of my experiences with this interface the application developers needed to know enough HCL to take advantage of the modules we had created. In one case the interface was the teams making a PR to a more monolithic repo which had control of a lot of things (including networking etc) so required platform team review. In the other case we did a bit better and broke down our Terraform so that the teams could have more autonomy, but it still required a lot of support due to the need to know HCL. What were you thinking would drive the TF? Would it be like these two examples where it was an HCL repo people could use in a certain way? Or were you thinking a pipeline people could call with parameters? Or something else? Maybe Neil has used a better interface to solve the need to know HCL.
p

Prashant M

02/23/2023, 2:59 AM
Actually I was checking yesterday ENV0 which provides the developer abstraction.. I'm still going through the details and will update soon.
b

Bradley Sickles

02/23/2023, 3:11 AM
Hey @Prashant M, Nullstone also provides a platform for your team to build Terraform modules for developers to self-serve through the platform.
a

Adarsh Shah

02/23/2023, 10:10 AM
Hey @Prashant M CloudKnit also provides a self service platform for IaC and more. It’s also open source. https://github.com/cloudknit-io/cloudknit
z

Zohar Einy

02/23/2023, 12:17 PM
Hey, this is a usecase for a developer portal. Disclaimer, I’m the ceo of Port and we see this usecase repetitively. Checkout https://www.getport.io/usecases/iac-for-developers, and our docs for this usecase https://docs.getport.io/complete-use-cases/iac-templates Hope it helps!
m

Mitch A

02/27/2023, 6:26 PM
Hi @Prashant M. Lots of good Terraform case studies here: https://www.hashicorp.com/resources?products=Terraform&contentType=Case%20Study Looks like you could also add terms like self-service in the search bar to narrow it down. As for giving people TF modules to use without having to learn HCL, I think that's possible in open source, but there's also new no-code modules in TFC Business https://developer.hashicorp.com/terraform/tutorials/cloud/no-code-provisioning
147 Views