This repository sets up infrastructure for hosting a web page or web application in Azure, with resources for monitoring, budget monitoring and security.
📦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
- 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)
- 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
Name | Version |
---|---|
azurerm | ~>2.0 |
azurerm | ~>2.0 |
No providers.
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 |
No resources.
No inputs.
No outputs.