Terraform installation
Let's install Terraform on our ubuntu server:
Verify the installation:
We have successfully installed terraform in our system.
Add any subcommand to terraform -help
to learn more about what it does and available options.
Terraform has .tf extension file.
a) Create a file main.tf then:
b) Format and validate the configuration:
c) Then check the plan:
d) Now, apply the config
Now check to the website. I installed nginx here.
If you also wanna try, check Install jenkins docker image with Terraform
Last updated