-
Notifications
You must be signed in to change notification settings - Fork 10
/
modules-service-plan.tf
38 lines (31 loc) · 1.33 KB
/
modules-service-plan.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Service Plan
module "service_plan" {
source = "claranet/app-service-plan/azurerm"
version = "~> 7.1.0"
client_name = var.client_name
environment = var.environment
stack = var.stack
resource_group_name = var.resource_group_name
location = var.location
location_short = var.location_short
use_caf_naming = var.use_caf_naming
name_prefix = var.name_prefix
name_suffix = var.name_suffix
custom_name = var.service_plan_custom_name
custom_diagnostic_settings_name = var.custom_diagnostic_settings_name
os_type = lower(var.os_type) == "container" ? "Linux" : var.os_type
sku_name = var.sku_name
zone_balancing_enabled = var.zone_balancing_enabled
app_service_environment_id = var.app_service_environment_id
worker_count = var.worker_count
maximum_elastic_worker_count = var.maximum_elastic_worker_count
per_site_scaling_enabled = var.per_site_scaling_enabled
logs_destinations_ids = var.logs_destinations_ids
logs_categories = var.logs_categories
logs_metrics_categories = var.logs_metrics_categories
default_tags_enabled = var.default_tags_enabled
extra_tags = merge(
var.extra_tags,
var.service_plan_extra_tags,
)
}