DevOps Classroomnotes 30/Oct/2022

Terraform for Azure VM Provisioning

Lets use Azurerm backend

  • create a new storage account Refer Here for official docs
  • Refer Here for the changes to include azurerm backend and Refer Here for the official docs of azurerm backend
  • In the demonstration, we have created a new workspace dev, that led to creation of a file in storage account
    Preview
  • Terraform apply has created the following resources
    Preview

Lets Create a azure sql db

  • For the changeset Refer Here and apply the changes
    Preview

Lets create an nsg, nic and vm

  • We are supposed to create a linux vm Refer Here
  • Refer Here for the linux vm
  • Refer Here for the changeset with necessary changes to create a vm and execute the provisioning based on variable runningversion

How to use multiple providers with same name

Dynamic Block

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About continuous learner

devops & cloud enthusiastic learner