Back to Main
This exercise is meant to test your ability to run basic terraform commands and make a modification to a terraform module.
The actual outcome of this exercise is purely to ensure you can run basic terraform commands, and a simple test to see if you understand templating in terraform. DON'T OVER THINK IT!
-
Initialize, Plan, and Execute the Terraform configuration in the directory to create an initial
HelloWorld.txt
.HelloWorld.txt contents
Hello NONAME, Welcome to terraform templating! Can you list 3 things you like? Provide List here: - BonkeyWonkers
-
Update the Terraform template(
HelloWorld.tftpl
) file so that the resultingHelloWorld.txt
includes 3 things you like, each on a new line.NOTE: The purpose of this exercise is to test your knowledge of terraform variables and templates. To complete this step, you should make use of a list that is iterated through using Terraform's templating to render the final
HelloWorld.txt
Exmample List for user GameThis
Pizza Gardening Programming
-
Run
Terraform
againExpected Output
Hello GameThis, Welcome to terraform templating! Can you list 3 things you like? Provide List here: - Pizza - Gardening - Programming - BonkeyWonkers