Skip to content

huseyinbabal/terraform-crash-course

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform in Action

This repository contains Terraform configurations for demonstration and educational purposes, showcasing basic infrastructure provisioning on AWS.

Requirements

To use these Terraform configurations, you will need:

  • Terraform CLI: Ensure Terraform is installed on your system.
  • AWS Account & Credentials: Configure your AWS credentials. This can be done via environment variables (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY), the AWS CLI configuration (~/.aws/credentials), or an IAM role.

Usage

1. Initialize Terraform

Initializes a working directory containing Terraform configuration files. This step downloads the necessary providers.

terraform init

2. Create an Execution Plan

Generates an execution plan, showing what actions Terraform will take to achieve the desired state defined in your configuration.

terraform plan

3. Apply the Changes

Applies the changes required to reach the desired state of the configuration, as described in the plan.

terraform apply

4. Destroy the Infrastructure

Destroys the Terraform-managed infrastructure. Use with caution! This will deprovision all resources created by this configuration.

terraform destroy

About

Example terraform repository to show case in https://www.youtube.com/watch?v=XI1ADR9VMdM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages