This repository contains terraform modules and Azure devops pipeline steps to deploy DTOS applications.
- acme-certificate
- api-management
- app-insights
- app-service-plan
- application-gateway
- baseline
- cdn-frontdoor-endpoint
- cdn-frontdoor-profile
- container-app
- container-app-environment
- container-app-job
- container-registry
- diagnostic-settings
- dns-a-record
- event-grid-subscription
- event-grid-topic
- event-hub
- firewall
- firewall-policy
- firewall-rule-collection-group
- function-app
- function-app-slots
- key-vault
- lets-encrypt-certificates
- linux-web-app
- linux-web-app-slots
- log-analytics-data-export-rule
- log-analytics-workspace
- managed-identity
- monitor-action-group
- network-security-group
- postgresql-flexible
- private-dns-a-record
- private-dns-zone
- private-dns-zone-resolver
- private-endpoint
- private-link-scoped-service
- public-ip
- rbac-assignment
- route-table
- service-bus
- shared-config
- sql-server
- storage
- subnet
- virtual-desktop
- vnet
- vnet-peering
After working on terraform modules, always update the terraform documentation by running:
brew install terraform-docs
make terraform-docsFor each module, add a description to the README. Add basic usage to the README. If the code is more involved, add example code to the examples/ directory instead.
Make sure to link all modules from this README.
To enable alerting (example here on container app)
- Set
enable_alerting = true. - Severity are 0 = Critical, 1 = Error, 2 = Warning, 3 = informational and 4 = verbose
Example:
module "postgres" {
...
enable_alerting = true
action_group_id = <action_group_id>
alert_memory_threshold = 80 (already defaults to this)
alert_cpu_threshold = 80 (already defaults to this)
alert_storage_threshold = (already defaults to this)
}