Skip to content

Latest commit

 

History

History
16 lines (14 loc) · 1.24 KB

README.md

File metadata and controls

16 lines (14 loc) · 1.24 KB

Scripts to create and destroy the resources

What's in this folder

  • apply.sh: By using this script we can apply changes to the Terraform resources in Azure.
  • common.sh: By using this script we can validate the required packages and variables on your system. This script will be called in apply.sh, init.sh, validate.sh, destroy.sh, plan.sh.
  • create_storage_account.py: By using this script you can create a storage account and storage container in Azure,
    • following components needs to be installed before using this script:
      • install azure-identity
      • install azure-mgmt-resource
      • install azure-mgmt-storage
      • install azure-storage-blob
  • delete_storage_account.py: By using this script we can delete the storage account created for terraform state files.
  • destroy.sh: By using this script we can destroy all the resource created by Terraform.
  • init.sh: By using this script we can initialize the modules, Terraform workspace, environment and create terraform State files bucket.
  • plan.sh: By using this script we plan the resources by running terraform plan command.