Skip to content

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.

Notifications You must be signed in to change notification settings

chenjd/terraform-101

Repository files navigation

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

Before you begin, ensure you have the following installed:

Getting Started

  1. Clone the Repository:

    git clone https://github.com/chenjd/terraform-101.git
    cd terraform-101
  2. Initialize Terraform:

    Navigate to any example directory and run:

    terraform init
  3. Apply the Configuration:

    Apply the Terraform configuration to create the infrastructure:

    terraform apply
  4. Destroy the Infrastructure:

    When you're done, clean up the resources:

    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 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.

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages