-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.tf
More file actions
35 lines (29 loc) · 1.05 KB
/
main.tf
File metadata and controls
35 lines (29 loc) · 1.05 KB
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
module "subaccount" {
source = "./modules/subaccount"
# Basic Configuration
name = var.name
description = var.description
subdomain = var.subdomain
region = var.region
parent_directory_id = var.parent_directory_id
# Metadata & Labels
is_production = var.is_production
status = var.status
contact_persons = var.contact_persons
additional_labels = var.additional_labels
# IAS Trust Configuration
enable_custom_ias_trust = var.enable_custom_ias_trust
ias_tenant_host = var.ias_tenant_host
# Cloud Foundry Configuration
enable_cloudfoundry = var.enable_cloudfoundry
cf_plan_name = var.cf_plan_name
}
module "integrationsuite" {
count = var.enable_integrationsuite ? 1 : 0
source = "./modules/srv-integrationsuite"
subaccount_id = module.subaccount.id
service_name = var.integrationsuite_service_name
app_name = var.integrationsuite_app_name
plan_name = var.integrationsuite_plan_name
quota_amount = var.integrationsuite_quota_amount
}