Skip to content

A module used to deploy a service plan in Azure 🔥. This is the new edition of App service plans added in the version 3.0 provider

License

Notifications You must be signed in to change notification settings

libre-devops/terraform-azurerm-service-plan

Repository files navigation

module "plan" {
  source = "registry.terraform.io/libre-devops/service-plan/azurerm"

  rg_name  = module.rg.rg_name
  location = module.rg.rg_location
  tags     = module.rg.rg_tags
  
  app_service_plan_name          = "plan-${var.short}-${var.loc}-${terraform.workspace}-01"
  add_to_app_service_environment = false
  
  os_type  = "Linux"
  sku_name = "Y1"
}

Requirements

No requirements.

Providers

Name Version
azurerm n/a

Modules

No modules.

Resources

Name Type
azurerm_service_plan.plan resource

Inputs

Name Description Type Default Required
add_to_app_service_environment Whether or not this app service plan should be added to an app service environment bool false no
app_service_environment_id If an ASE is used, supply the ID to it here string "" no
app_service_plan_name The name for the App service plan string n/a yes
location Azure location. string n/a yes
maximum_elastic_worker_count If ElasticScaleEnabled app service plan is used, the max number of nodes number null no
os_type The OS type of the app service plan string n/a yes
per_site_scaling Should per site scaling be used? bool false no
rg_name Resource group name string n/a yes
sku_name A new SKU name map(string) n/a yes
tags A map of the tags to use on the resources that are deployed with this module. map(string)
{
"source": "terraform"
}
no
zone_balancing_enabled Should the ASP be zone redundant? bool false no

Outputs

Name Description
service_plan_id Id of the created App Service Plan
service_plan_is_reserved If the instance is reserved
service_plan_kind The kind of the plan
service_plan_location Azure location of the created App Service Plan
service_plan_name Name of the created App Service Plan

About

A module used to deploy a service plan in Azure 🔥. This is the new edition of App service plans added in the version 3.0 provider

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published