Skip to content

Latest commit

 

History

History
41 lines (22 loc) · 914 Bytes

File metadata and controls

41 lines (22 loc) · 914 Bytes

devops-terraform

This repository contains sample Terraform configuration that can be used to provision a resource group and a storage account static website on Azure.

Prerequisites

To run the following sample project you need to login with your Azure account:

az login

Build and run

Create remote state with:

terraform init

Run terraform validate command to validate the configuration files in a directory:

terraform validate

Run terraform plan to verify creation process and then terraform apply to create real resources:

terraform plan
terraform apply

After executing the apply command you will get a prompt that will ask if you want to create it, enter yes.