Skip to content

Latest commit

 

History

History
61 lines (41 loc) · 1.12 KB

README.md

File metadata and controls

61 lines (41 loc) · 1.12 KB

Timeseries Data Explorer

Instructions for deployment

Prerequisites

Install the following tools on your device:

  • Azure CLI
  • Azure Subscription
  • Terraform

Azure CLI configuration

Configure Azure CLI on your device by runnin the follwing commands:

# Login to Azure
az login

# Set azure account
az account set --subscription "<your-subscription-id>"

# Configure CLI
az config set extension.use_dynamic_install=yes_without_prompt

Update Variables

Open the code\infra\vars.tfvars file and update the prefix and location parameters:

location    = "<your-location>"
environment = "dev"
prefix      = "<your-prefix-value>"
tags        = {}
...

Terraform deployment (local backend)

Deploy the Terraform configuration using the following commands:

# Move terraform_override.tf file
move .\utilities\terraformConfigSamples\* .\code\infra\

# Change directory
cd .\code\infra\

# Terraform init
terraform init

# Terraform plan
terraform plan -var-file="vars.tfvars"

# Terraform apply
terraform apply -var-file="vars.tfvars"

You successfully deployed the setup!