r/Terraform • u/theogwinall • Oct 29 '26
Help Wanted Built my first module which dynamically generates a small journal website based on inputs - seeking feedback
I recently passed the 004 exam and wanted to build something hands-on with Terraform to practice. I decided to make a small module that generates a journal / blog website with articles dynamically, using a predefined website template that I designed and developed myself. Here is a link to the repo here.
I know it’s not a typical use case for Terraform and doesn’t have any practical purpose, but I just wanted to try it out and see if it would work. I’m happy with how it turned out. I also had to learn Bash on the fly, which was a cool.
If you have any feedback on the implementation or any bugs, I’d appreciate it. Looking to improve my Terraform skills.
None of this was vibe-coded. Everything, from the code to the logo, was made by me.
1
u/GeriatricGod Nov 01 '26
Better off pulling in the files from a static location such as an s3 bucket and building the framework around that instead of manually creating and maintaining so many files within the TF itself.
The TF format and syntax look good at a quick glance, and if it deploys it's fine. 😁
Just thoughts
1
u/theogwinall Nov 04 '26
Appreciate that feedback, that’s a good idea. I’m gonna give something like that a try to practice working with cloud providers.
I was just itching to make something, so I threw this together.
2
u/Cregkly Oct 29 '26
You're right, it's not a typical use case for terraform. I'm not sure it entirely makes sense to manage files like this, but it is an interesting exercise.