forked from hmcts/terraform-module-virtual-machine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
025-extensions.tf
33 lines (27 loc) · 1.36 KB
/
025-extensions.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
module "vm-bootstrap" {
count = var.install_splunk_uf == true || var.nessus_install == true ? 1 : 0
source = "git::https://github.com/hmcts/terraform-module-vm-bootstrap.git?ref=master"
virtual_machine_type = "vm"
virtual_machine_id = var.vm_type == "linux" ? azurerm_linux_virtual_machine.linvm[0].id : azurerm_windows_virtual_machine.winvm[0].id
splunk_username = var.splunk_username
splunk_password = var.splunk_password
splunk_pass4symmkey = var.splunk_pass4symmkey
splunk_group = var.splunk_group
os_type = var.vm_type == "linux" ? "Linux" : "Windows"
nessus_server = var.nessus_server
nessus_key = var.nessus_key
nessus_groups = var.nessus_groups
install_dynatrace_oneagent = var.install_dynatrace_oneagent
install_azure_monitor = var.install_azure_monitor
install_nessus_agent = var.nessus_install
dynatrace_hostgroup = var.dynatrace_hostgroup
dynatrace_server = var.dynatrace_server
dynatrace_tenant_id = var.dynatrace_tenant_id
dynatrace_token = var.dynatrace_token
run_command = var.run_command
rc_script_file = var.rc_script_file
rc_os_sku = var.rc_os_sku
additional_script_uri = var.additional_script_uri
additional_script_name = var.additional_script_name
common_tags = var.tags
}