Hi my name is Socrates Chouridis and I am a Cloud Engineer. I created this simple application for me to use when developing new terraform modules for my company.
There were a lot of cases where I had to create complex local variables or iterables to feed in a for_each argument and due to the nature of the problem, terraform console was just not enough to help me experiment.
In that case I was creating a different local project with just a single output and the variables I wanted. Based on the output value after terraform apply, I was able to find out exactly the data structure I wanted to create.
This project is exactly that. On submit it gathers the declared variables and the terraform expression and creates a single-file terraform configuration with the variables declaration and a single output containing the terraform expression as the value. Next it applies the configuration and returns the result of the output in the Result box. Finally, it deletes all the local files that were created during the process from the server.
If any error occurs it is transmitted in the result box. The application was created to get me out of the nuisance of creating a new blank project each time I wanted to create something complex. And now I just decided to make the project public to help also other fellow terraform developers out there.
If you want to know more about me, please visit my profile in linkedin: https://www.linkedin.com/in/socrates-chouridis/