Skip to content

Infrastructure for hosting a web page or web application in Azure, with resources for monitoring, budget monitoring and security.

License

Notifications You must be signed in to change notification settings

terraform-azure-iac/terraform-azure-webpage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform Azure Webpage

Info

This repository sets up infrastructure for hosting a web page or web application in Azure, with resources for monitoring, budget monitoring and security.

visio

📦case-small-business-webpage
┣ 📂 .github/
┃ ┗ 📂 workflows/
┃ ┃ ┣ 📜 terraform-apply.yml
┃ ┃ ┣ 📜 terraform-destroy.yml
┃ ┃ ┣ 📜 terraform-plan.yml
┃ ┃ ┣ 📜 terraform-tests.yml
┃ ┃ ┗ 📜 website-deploy.yml
┣ 📂 img/
┣ 📂 modules/
┃ ┣ 📂 1-web-page/
┃ ┃ ┣ 📜 main.tf
┃ ┃ ┣ 📜 output.tf
┃ ┃ ┣ 📜 README.md
┃ ┃ ┗ 📜 variables.tf
┃ ┣ 📂 2-budget/
┃ ┃ ┣ 📜 main.tf
┃ ┃ ┣ 📜 output.tf
┃ ┃ ┣ 📜 README.md
┃ ┃ ┗ 📜 variables.tf
┃ ┣ 📂 3-monitoring/
┃ ┃ ┣ 📜 main.tf
┃ ┃ ┣ 📜 output.tf
┃ ┃ ┣ 📜 README.md
┃ ┃ ┗ 📜 variables.tf
┃ ┗ 📂 4-security/
┃ ┃ ┣ 📜 main.tf
┃ ┃ ┣ 📜 output.tf
┃ ┃ ┣ 📜 README.md
┃ ┃ ┗ 📜 variables.tf
┣ 📂 src/
┃ ┣ 📜 index.html
┃ ┣ 📜 index.js
┃ ┗ 📜 styles.css
┣ 📜 .gitignore
┣ 📜 .terraform.lock.hcl
┣ 📜 backend.tf
┣ 📜 backend_override.tf
┣ 📜 main.tf
┣ 📜 output.tf
┣ 📜 README.md
┗ 📜 variables.tf

Prerequisites

Required Azure roles for user/service principal:

  • Contributor: To provision resources
  • Key Vault Certificates Officer: To perform actions on certificates in Key Vault
  • User Access Administrator: Assign roles to resource identities (Assign "Key Vault Secrets User" to Application Gateway)

Configure Module

  • Do A to fit it to the needs of the user
  • Do B to fit it to the needs of the user
  • Do C to fit it to the needs of the user

Terraform documentation

Requirements

Name Version
azurerm ~>2.0
azurerm ~>2.0

Providers

No providers.

Modules

Name Source Version
budget ./modules/2-budget n/a
monitoring ./modules/3-monitoring n/a
security ./modules/4-security n/a
web-page ./modules/1-web-page n/a

Resources

No resources.

Inputs

No inputs.

Outputs

No outputs.

About

Infrastructure for hosting a web page or web application in Azure, with resources for monitoring, budget monitoring and security.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages