Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Hello-Terraform

terraform-resource-group-azure

Terraform – First Steps with Azure

This mini project demonstrates my first hands-on experience with Infrastructure as Code (IaC) using Terraform and Microsoft Azure.

The goal of this repository is to understand the basic Terraform workflow and how cloud infrastructure can be defined declaratively instead of manually or via CLI commands.


Goals

  • Connect Terraform to an Azure subscription
  • Create an Azure Resource Group using Terraform
  • Understand the Terraform workflow:
    • terraform init
    • terraform plan
    • terraform apply
    • terraform destroy

Prerequisites

  • Azure Subscription
  • Azure CLI (authenticated)
  • Terraform
  • Visual Studio Code
  • Basic understanding of cloud concepts

Terraform Workflow

Step 1 – Initialize Terraform

terraform init

Step 2 – Review the execution plan

terraform plan

Step 3 – Apply the configuration

terraform apply

Step 4 – Destroy the resources

terraform destroy

What this project creates

  • Azure Resource Group:
  • Name: rg-hello-terraform
  • Location: West Europe

Learnings

  • First practical experience with Infrastructure as Code
  • Understanding declarative infrastructure definitions
  • Working with the AzureRM provider
  • Managing the full lifecycle of cloud resources (create & destroy)
  • Seeing the difference between CLI-based and IaC-based workflows

Notes

This repository represents my starting point with Terraform. More advanced projects (variables, modules, networking, VM deployments) will follow in separate repositories.

About

Hello-Terraform

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors