stacks/NetWeaver-DB2-HA/tf/main.tf (55 lines of code) (raw):
/**
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
module "nw_db2_ha" {
source = "../../../terraform/modules/nw-db2-ha"
disk_size_boot = var.disk_size_boot
disk_size_db2 = var.disk_size_db2
disk_size_swap = var.disk_size_swap
disk_size_usrsap = var.disk_size_usrsap
disk_type_boot = var.disk_type_boot
disk_type_db2 = var.disk_type_db2
disk_type_swap = var.disk_type_swap
disk_type_usrsap = var.disk_type_usrsap
ers_ilb_required = var.ers_ilb_required
filestore_name = var.filestore_name
filestore_size = var.filestore_size
filestore_tier = var.filestore_tier
health_check_port_ascs = var.health_check_port_ascs
health_check_port_db2 = var.health_check_port_db2
health_check_port_ers = var.health_check_port_ers
instance_basename_as = var.instance_basename_as
instance_name_ascs = var.instance_name_ascs
instance_name_db2_primary = var.instance_name_db2_primary
instance_name_db2_secondary = var.instance_name_db2_secondary
instance_name_ers = var.instance_name_ers
instance_type_as = var.instance_type_as
instance_type_ascs = var.instance_type_ascs
instance_type_db2 = var.instance_type_db2
instance_type_ers = var.instance_type_ers
project_id = var.project_id
network_tags = var.network_tags
num_instances_as = var.num_instances_as
service_account_email = var.service_account_email
source_image = var.source_image
source_image_family = var.source_image_family
source_image_project_id = var.source_image_project_id
ssh_user = var.gce_ssh_user
ssh_pub_key_file = var.gce_ssh_pub_key_file
subnetwork = var.subnetwork
subnetwork_project_id = var.subnetwork_project_id
zone_primary = var.zone_primary
zone_secondary = var.zone_secondary
}