generated from Azure/terraform-verified-module
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdata.tf
29 lines (23 loc) · 987 Bytes
/
data.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
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
# remove file if not needed
data "azurerm_client_config" "current" {}
data "azurerm_app_service_environment_v3" "ase" {
count = var.enable_app_service_environment ? 1 : 0
name = var.app_service_environment_name
resource_group_name = local.resource_group_name
}
data "azurerm_virtual_network" "pe_vnet" {
name = var.virtual_network_name
resource_group_name = local.resource_group_name
}
data "azurerm_subnet" "pe_subnet" {
name = var.private_endpoint_subnet_name
virtual_network_name = var.virtual_network_name
resource_group_name = local.resource_group_name
}
data "azurerm_service_plan" "existing_asp" {
count = var.create_app_service_plan == false && var.existing_app_service_plan_name != null ? 1 : 0
name = var.existing_app_service_plan_name
resource_group_name = local.resource_group_name
}