app-service-plan
claranet/app-service-plan/azurerm
Terraform module for Azure Service Plan
Azure Service Plan     This Terraform module creates an Azure Service Plan with default SKU capacity sets to "2" for dedicated plans. Diagnostics settings can also be activated for metrics only. Requirements and limitations Mixing Windows and Linux apps in the same resource group is not supported by Azure Global versioning rule for Claranet Azure modules | Module version | Terraform version | OpenTofu version | AzureRM version | | -------------- | ----------------- | ---------------- | --------------- | | >= 8.x.x | Unverified** | 1.8.x | >= 4.0 | | >= 7.x.x | 1.3.x | | >= 3.0 | | >= 6.x.x | 1.x | | >= 3.0 | | >= 5.x.x | 0.15.x |
| Name | Type | Description | Default |
|---|---|---|---|
| sku_name | string | The SKU for the plan. Possible values include B1, B2, B3, D1, F1, I1, I2, I3, I1 | required |
| logs_destinations_ids | list(string) | List of destination resources IDs for logs diagnostic destination. Can be `Stora | required |
| os_type | string | The O/S type for the App Services to be hosted in this plan. Possible values inc | required |
| location | string | Azure location. | required |
| location_short | string | Short string for Azure location. | required |
| client_name | string | Client name/account used in naming. | required |
| environment | string | Project environment. | required |
| stack | string | Project stack name. | required |
| resource_group_name | string | Resource group name. | required |
| worker_count | number | The number of Workers (instances) to be allocated. Can be set to null to ignore | 3 |
| maximum_elastic_worker_count | number | The maximum number of workers to use in an Elastic SKU Plan. Cannot be set unles | null |
| zone_balancing_enabled | bool | Should the Service Plan balance across Availability Zones in the region. | true |
| diagnostic_settings_custom_name | string | Custom name of the diagnostics settings, name will be `default` if not set. | "default" |
| name_suffix | string | Optional suffix for the generated name. | "" |
| default_tags_enabled | bool | Option to enable or disable default tags. | true |
| logs_categories | list(string) | Log categories to send to destinations. | null |
| logs_metrics_categories | list(string) | Metrics categories to send to destinations. | null |
| per_site_scaling_enabled | bool | Should Per Site Scaling be enabled. | false |
| name_prefix | string | Optional prefix for the generated name. | "" |
| extra_tags | map(string) | Extra tags to add. | {} |
| app_service_environment_id | string | The ID of the App Service Environment to create this Service Plan in. Requires a | null |
| custom_name | string | Name of the App Service Plan, generated if not set. | "" |
module_diagnostics — Diagnostics Settings module output.resource — Azure App Service Plan resource object.id — ID of the created Service Plan.name — Name of the created Service Plan.location — Azure location of the created Service Plan.Azure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,