app-service-plan

claranet/app-service-plan/azurerm

Terraform Module HCL AZURERM

Terraform module for Azure Service Plan

Install
module "app-service-plan" {
source = "claranet/app-service-plan/azurerm"
version = "8.3.1"
}
plain text: /constructs/tfmod-claranet-app-service-plan-azurerm/install.txt
⭐ Source on GitHub 📦 Registry page
README

Azure Service Plan ![Changelog](CHANGELOG.md) ![Notice](NOTICE) ![Apache V2 License](LICENSE) ![OpenTofu Registry](https://search.opentofu.org/module/claranet/app-service-plan/azurerm/) 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 |

Inputs (22)
NameTypeDescriptionDefault
sku_namestringThe SKU for the plan. Possible values include B1, B2, B3, D1, F1, I1, I2, I3, I1 required
logs_destinations_idslist(string)List of destination resources IDs for logs diagnostic destination. Can be `Stora required
os_typestringThe O/S type for the App Services to be hosted in this plan. Possible values inc required
locationstringAzure location. required
location_shortstringShort string for Azure location. required
client_namestringClient name/account used in naming. required
environmentstringProject environment. required
stackstringProject stack name. required
resource_group_namestringResource group name. required
worker_countnumberThe number of Workers (instances) to be allocated. Can be set to null to ignore 3
maximum_elastic_worker_countnumberThe maximum number of workers to use in an Elastic SKU Plan. Cannot be set unlesnull
zone_balancing_enabledboolShould the Service Plan balance across Availability Zones in the region.true
diagnostic_settings_custom_namestringCustom name of the diagnostics settings, name will be `default` if not set."default"
name_suffixstringOptional suffix for the generated name.""
default_tags_enabledboolOption to enable or disable default tags.true
logs_categorieslist(string)Log categories to send to destinations.null
logs_metrics_categorieslist(string)Metrics categories to send to destinations.null
per_site_scaling_enabledboolShould Per Site Scaling be enabled.false
name_prefixstringOptional prefix for the generated name.""
extra_tagsmap(string)Extra tags to add.{}
app_service_environment_idstringThe ID of the App Service Environment to create this Service Plan in. Requires anull
custom_namestringName of the App Service Plan, generated if not set.""
Outputs (5)
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.
Resources (1)
azurerm_service_plan
Details
FrameworkTerraform Module
LanguageHCL
Version8.3.1
Cloud AZURERM
★ Stars7
Forks11
Total downloads177.4k
Inputs22
Outputs5
Resources1
Examples2
LicenseApache-2.0
Namespaceclaranet
Updated