Skip to content

RScrafted/terraform-azure-vm-automation

Repository files navigation

Terraform Azure Virtual Machine Automation


Provisioning Virtual Machine and related resources in Azure Platform using Terraform as IaC tool to deploy it.

  • The terraform.yml automates Continuous Integration (CI) executing terraform initialize, validate, plan, and performs Continuous Dilivery (CD) that executes terraform apply to provision resources as stated in main.tf.

  • The workflow_dispatch.yml allows manual trigger towards deprovisioning of the resources for cost effectiveness.

  • The terraform.tfvars allows setup for multiple environments.

  • The backend configuration creates new Resource Group to avoid saving on runner's machine, enhancing security and effective team collaboration.

Note: It is important to Create TFState Backup Resource Group Prior to allow Terraform to initialize backend configuration.


Architecture


Key Learnings

Please visit the WIKI page.


Acknowledgements