Skip to content

Latest commit

 

History

History
65 lines (47 loc) · 1.96 KB

README.md

File metadata and controls

65 lines (47 loc) · 1.96 KB

Terraform Practice Repository

This repository serves as a workspace for practicing Terraform and managing infrastructure as code (IaC) using HashiCorp's Terraform tool.

Note

As the number of the folder increases so does the complexity so make sure to read each folders ReadMe file

Overview

In this repository, you'll find various folders containing Terraform configurations (*.tf) along with associated files and modules. Each folder represents a different scenario or project where Terraform is utilized to provision and manage infrastructure resources on AWS.

Folder Structure

├── 01/
│   └── file.tf (Terraform configuration files)
│   └── README.md
├── 02/
└── 03/

Getting Started

  1. Clone this repository to your local machine:

    git clone https://github.com/raphaeleze/terrafromPractice.git
    
  2. Navigate to the desired project folder:

    cd 01/
    
  3. Initialize Terraform within the project folder:

    terraform init
    

Tip

Run terraform validate to make sure there are no errors

  1. Review the Terraform configurations and make any necessary changes.

  2. Apply the Terraform configurations to provision infrastructure:

    terraform apply
    

Important

Don't forget to destroy all resources so you don't incur unnecessary bills

  1. After practicing, clean up resources by running:
    terraform destroy
    

Contributing

Contributions to this repository are welcome! If you have any Terraform configurations or projects you'd like to share or improve, feel free to submit a pull request.

Resources