autoscale

claranet/autoscale/azurerm

Terraform Module HCL AZURERM

Terraform module for Azure Autoscale

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

Azure Autoscale ![Changelog](CHANGELOG.md) ![Notice](NOTICE) ![Apache V2 License](LICENSE) ![OpenTofu Registry](https://search.opentofu.org/module/claranet/autoscale/azurerm/) This Terraform module manage autoscaling configuration on a given Azure resource. This module comes with a default profile working with Virtual Machine Scale Sets and App Service Plans based on Azure Monitor CPU and memory metrics. Also, this module allows to override it with custom profiles and rules. 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 |

Inputs (19)
NameTypeDescriptionDefault
logs_destinations_idslist(string)List of destination resources IDs for logs diagnostic destination. Can be `Stora required
location_shortstringShort string for Azure location. required
stackstringProject stack name. required
target_resource_idstringID of the resource to apply the autoscale setting to. required
locationstringAzure location/region to use. required
profilemap(object({ capacity = obOne or more (up to 20) autoscale profile blocks. required
client_namestringClient name/account used in naming. required
environmentstringProject environment. required
resource_group_namestringCustom resource group name to attach autoscale configuration to. Target resourcenull
notificationobject({ email = optional(Manage emailing and webhooks for sending notifications.null
logs_categorieslist(string)Log categories to send to destinations.null
custom_namestringCustom name for Autoscale setting, generated if not set.""
extra_tagsmap(string)Additional tags to associate with your autoscale setting.{}
name_prefixstringOptional prefix for the generated name.""
name_suffixstringOptional suffix for the generated name.""
default_tags_enabledboolOption to enable or disable default tags.true
autoscale_enabledboolSpecifies whether automatic scaling is enabled for the target resource.true
logs_metrics_categorieslist(string)Metrics categories to send to destinations.null
diagnostic_settings_custom_namestringCustom name of the diagnostics settings, name will be 'default' if not set."default"
Outputs (4)
resource — Azure Autoscale setting resource object.
module_diagnostics — Diagnostics Settings module output.
id — ID of the Azure Autoscale setting.
name — Name of the Azure Autoscale setting.
Resources (1)
azurerm_monitor_autoscale_setting
Details
FrameworkTerraform Module
LanguageHCL
Version8.0.2
Cloud AZURERM
★ Stars1
Forks2
Total downloads12.4k
Inputs19
Outputs4
Resources1
Examples1
LicenseApache-2.0
Namespaceclaranet
Updated