Welcome to my Terraform practice repository! Here, I’ve compiled various projects that I've worked on while learning Terraform, covering a range of concepts and use cases in infrastructure as code (IaC).
This repository includes the following projects:
- aws-first-instance: A simple setup to launch your first AWS EC2 instance.
- default-value-variable: Demonstrates how to use default values for variables in Terraform.
- environment-variables: Example of using environment variables for configuration.
- file-destructure: Shows how to destructure files in Terraform.
- functions: Illustrates how to create and use functions in Terraform configurations.
- hello-world-json: A "Hello World" example using JSON configuration.
- hello-world: A simple "Hello World" setup to get started with Terraform.
- list-variable: An example of using list variables in Terraform.
- map-variable: Demonstrates how to work with map variables.
- multiple-block: Example of using multiple blocks in Terraform configurations.
- terraform-first-resource: Basic setup for creating your first Terraform resource.
- tf-vars: How to manage and use
*.tfvars
files for variable inputs. - variable-input: An example of providing inputs for variables in Terraform.
To get started with any of these projects:
git clone https://github.com/Mshandev/Terraform-Practice.git
cd Terraform-Practice
Make sure you have Terraform installed on your machine.
Navigate to the folder of the project you want to explore.
terraform init
terraform apply
Contributions are always welcome! Just raise an issue, and we will discuss it.
If you have any feedback, please reach out to me here