Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chenjd/terraform-101

This repository contains a series of examples and exercises designed to help you get started with Terraform. Whether you are a beginner or looking to refresh your skills, you will find valuable resources here to understand the basics of Terraform and its application in real-world scenarios.
https://github.com/chenjd/terraform-101

devops devops-learning iac iac-terraform terraform

Last synced: 9 days ago
JSON representation

This repository contains a series of examples and exercises designed to help you get started with Terraform. Whether you are a beginner or looking to refresh your skills, you will find valuable resources here to understand the basics of Terraform and its application in real-world scenarios.

Awesome Lists containing this project

README

        

# Terraform 101

Welcome to the **Terraform 101** repository! This project provides an introductory guide to using Terraform, a powerful tool for building, changing, and versioning infrastructure safely and efficiently.

## Overview

This repository contains a series of examples and exercises designed to help you get started with Terraform. Whether you are a beginner or looking to refresh your skills, you will find valuable resources here to understand the basics of Terraform and its application in real-world scenarios.

## Table of Contents

- [Prerequisites](#prerequisites)
- [Getting Started](#getting-started)
- [Directory Structure](#directory-structure)
- [Usage](#usage)
- [Contributing](#contributing)
- [License](#license)

## Prerequisites

Before you begin, ensure you have the following installed:

- [Terraform](https://www.terraform.io/downloads.html)
- [Git](https://git-scm.com/downloads)
- A text editor (e.g., VSCode, Sublime Text)

## Getting Started

1. **Clone the Repository:**

```bash
git clone https://github.com/chenjd/terraform-101.git
cd terraform-101
```

2. **Initialize Terraform:**

Navigate to any example directory and run:

```bash
terraform init
```

3. **Apply the Configuration:**

Apply the Terraform configuration to create the infrastructure:

```bash
terraform apply
```

4. **Destroy the Infrastructure:**

When you're done, clean up the resources:

```bash
terraform destroy
```

## Directory Structure

The repository is organized as follows:

```
terraform-101/
├── example1/
├── example2/
├── example3/
├── ...
└── README.md
```

- `examples/` contains different Terraform configuration examples. Each example is self-contained and can be used independently.

## Usage

Each example in the `examples/` directory includes a `README.md` file with detailed instructions on how to use it. Follow the specific steps outlined in each example to practice and understand different aspects of Terraform.

## Contributing

We welcome contributions! If you have any improvements or additional examples, please follow these steps:

1. Fork the repository.
2. Create a new branch (`git checkout -b feature/your-feature`).
3. Commit your changes (`git commit -m 'Add some feature'`).
4. Push to the branch (`git push origin feature/your-feature`).
5. Create a new Pull Request.

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

---

Happy Terraforming! If you have any questions or need further assistance, feel free to open an issue or contact the repository maintainers.