gogorichie / Terraform-ContosoFinance-Demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

This repository contains a sample Azure App Service and Terraform sample code to deploy it. This is for demonstrate/test purposes only using IaC. Feel free to use these as you wish! and create an issue if you find any:) This project was inspired by SoniaConti and her ARM project.


Repository Size languages Last Commit Open Issues Open Pull Reqeusts

In this project we will create a Website using Azure App Service.

What is Azure App Service?

Azure App Service is a Platform as a Service (PaaS), in other words it is a fully managed platform used for hosting web applications, like this one below, Mobile Apps, Logic Apps, API Apps and Function Apps.

What is Terraform and why should you use it for your Infrastructure as Code (IaC?

Terraform

Terraform is an open-source tool created by HashiCorp that allows you to define and manage your infrastructure as code (IaC). It enables you to create, modify, and delete your infrastructure resources, such as virtual machines, load balancers, and databases, using a simple and declarative configuration language. Infrastructure as Code (IaC) is the practice of defining and managing your infrastructure resources using code, such as Terraform configuration files. By using IaC, you can automate your infrastructure provisioning and deployment processes, reduce human errors, and increase the consistency and reliability of your infrastructure.

Architecture Design

ArchitectureDesignDiagram

Tagging Practices:

The following tags are applied to each resource created within the plan by default.

  • NS_Environment
  • NS_Application

Deploy Contoso Finance Web App

  1. Install Terraform package
  2. Fork/copy this repo rep
  3. Open the project locally with Visual Studio Code or your favorite text editor
  4. Log into your Azure Subscription wishing to deploy too with Az Login and set the root subscription as the active subscription: az account set --subscription <<subscription id>>
  5. terraform init
    
    • terraform plan
    • terraform apply

About


Languages

Language:HCL 100.0%