-
Notifications
You must be signed in to change notification settings - Fork 0
/
rg-AZFunction-test.tf
36 lines (27 loc) · 1.04 KB
/
rg-AZFunction-test.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
resource "azurerm_resource_group" "rg-AZFunction-test" {
name = "rg-AZFunction-test"
location = "westeurope"
tags = {
TerraformStatus = "Managed"
}
}
module "azFunctionTesterTommi-stg" {
source = "./modules/storagesAccount"
name = "azfntestertommiapptest"
resource_group_name = azurerm_resource_group.rg-AZFunction-test.name
}
module "azFunctionTesterTommi-app-service" {
source = "./modules/serviceplan"
name = "azFunciontTest-serviceplan"
location = azurerm_resource_group.rg-AZFunction-test.location
resource_group_name = azurerm_resource_group.rg-AZFunction-test.name
}
module "azFunctionTesterTommi" {
source = "./modules/azureFunction"
name = "azFunctionTesterTommi"
resource_group_name = azurerm_resource_group.rg-AZFunction-test.name
location = azurerm_resource_group.rg-AZFunction-test.location
storage_account_name = module.azFunctionTesterTommi-stg.name
storage_account_access_key = module.azFunctionTesterTommi-stg.primary_access_key
service_plan_id = module.azFunctionTesterTommi-app-service.ID
}