File tree Expand file tree Collapse file tree 4 files changed +15
-1
lines changed Expand file tree Collapse file tree 4 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -4,5 +4,5 @@ resource "azurerm_service_plan" "sp" {
4
4
resource_group_name = azurerm_resource_group. rg . name
5
5
6
6
os_type = " Linux"
7
- sku_name = " P1v3 "
7
+ sku_name = var . app_service_plan . sku
8
8
}
Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ log_analytics_subscription_id = "d68448b0-9947-46d7-8771-baa331a3063a"
8
8
log_analytics_resource_group_name = " rg-platform-logging-prd-uksouth-01"
9
9
log_analytics_workspace_name = " log-platform-prd-uksouth-01"
10
10
11
+ app_service_plan = {
12
+ sku = " B1"
13
+ }
14
+
11
15
tags = {
12
16
Environment = " dev" ,
13
17
Workload = " portal" ,
Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ log_analytics_subscription_id = "d68448b0-9947-46d7-8771-baa331a3063a"
8
8
log_analytics_resource_group_name = " rg-platform-logging-prd-uksouth-01"
9
9
log_analytics_workspace_name = " log-platform-prd-uksouth-01"
10
10
11
+ app_service_plan = {
12
+ sku = " P1v3"
13
+ }
14
+
11
15
tags = {
12
16
Environment = " prd" ,
13
17
Workload = " portal" ,
Original file line number Diff line number Diff line change @@ -16,6 +16,12 @@ variable "log_analytics_subscription_id" {}
16
16
variable "log_analytics_resource_group_name" {}
17
17
variable "log_analytics_workspace_name" {}
18
18
19
+ variable "app_service_plan" {
20
+ type = object ({
21
+ sku = string
22
+ })
23
+ }
24
+
19
25
variable "tags" {
20
26
default = {}
21
27
}
You can’t perform that action at this time.
0 commit comments