Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/chenjd/terraform-101
- Owner: chenjd
- Created: 2024-06-11T23:55:45.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-07-16T00:20:38.000Z (4 months ago)
- Last Synced: 2024-07-16T03:54:17.205Z (4 months ago)
- Topics: devops, devops-learning, iac, iac-terraform, terraform
- Language: HCL
- Homepage: https://jiadong-chen.medium.com/list/terraform-101-dcb2e9bdac82
- Size: 32.2 KB
- Stars: 17
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.