Switched using state variable
This commit is contained in:
parent
43be7b490f
commit
0697704d18
|
@ -31,8 +31,8 @@ module "instance_with_data_volume" {
|
||||||
name = "geonetwork-ariadne",
|
name = "geonetwork-ariadne",
|
||||||
description = "This instance serves geonetwork service",
|
description = "This instance serves geonetwork service",
|
||||||
flavor = module.common_variables.flavor_list.m2_small,
|
flavor = module.common_variables.flavor_list.m2_small,
|
||||||
networks = [data.terraform_remote_state.privnet_dns_router.outputs.main_private_network.name,module.common_variables.networks_list.shared_postgresql],
|
networks = [data.terraform_remote_state.privnet_dns_router.outputs.main_private_network.name, module.common_variables.networks_list.shared_postgresql],
|
||||||
security_groups = [data.terraform_remote_state.privnet_dns_router.outputs.default_security_group_name, module.common_variables.security_group_list.http_and_https_from_the_load_balancers],
|
security_groups = [data.terraform_remote_state.privnet_dns_router.outputs.default_security_group_name, data.terraform_remote_state.privnet_dns_router.outputs.security_group_list.http_and_https_from_the_load_balancers],
|
||||||
server_groups_ids = [],
|
server_groups_ids = [],
|
||||||
image_ref = module.common_variables.ubuntu_1804
|
image_ref = module.common_variables.ubuntu_1804
|
||||||
volume = {
|
volume = {
|
||||||
|
@ -45,8 +45,8 @@ module "instance_with_data_volume" {
|
||||||
name = "geonetwork-fisherieatlas",
|
name = "geonetwork-fisherieatlas",
|
||||||
description = "This instance serves geonetwork service",
|
description = "This instance serves geonetwork service",
|
||||||
flavor = module.common_variables.flavor_list.m2_small,
|
flavor = module.common_variables.flavor_list.m2_small,
|
||||||
networks = [data.terraform_remote_state.privnet_dns_router.outputs.main_private_network.name,module.common_variables.networks_list.shared_postgresql],
|
networks = [data.terraform_remote_state.privnet_dns_router.outputs.main_private_network.name, module.common_variables.networks_list.shared_postgresql],
|
||||||
security_groups = [data.terraform_remote_state.privnet_dns_router.outputs.default_security_group_name, module.common_variables.security_group_list.http_and_https_from_the_load_balancers],
|
security_groups = [data.terraform_remote_state.privnet_dns_router.outputs.default_security_group_name, data.terraform_remote_state.privnet_dns_router.outputs.security_group_list.http_and_https_from_the_load_balancers],
|
||||||
server_groups_ids = [],
|
server_groups_ids = [],
|
||||||
image_ref = module.common_variables.ubuntu_1804
|
image_ref = module.common_variables.ubuntu_1804
|
||||||
volume = {
|
volume = {
|
||||||
|
@ -59,8 +59,8 @@ module "instance_with_data_volume" {
|
||||||
name = "geonetwork-grsf",
|
name = "geonetwork-grsf",
|
||||||
description = "This instance serves geonetwork service",
|
description = "This instance serves geonetwork service",
|
||||||
flavor = module.common_variables.flavor_list.m2_small,
|
flavor = module.common_variables.flavor_list.m2_small,
|
||||||
networks = [data.terraform_remote_state.privnet_dns_router.outputs.main_private_network.name,module.common_variables.networks_list.shared_postgresql],
|
networks = [data.terraform_remote_state.privnet_dns_router.outputs.main_private_network.name, module.common_variables.networks_list.shared_postgresql],
|
||||||
security_groups = [data.terraform_remote_state.privnet_dns_router.outputs.default_security_group_name, module.common_variables.security_group_list.http_and_https_from_the_load_balancers],
|
security_groups = [data.terraform_remote_state.privnet_dns_router.outputs.default_security_group_name, data.terraform_remote_state.privnet_dns_router.outputs.security_group_list.http_and_https_from_the_load_balancers],
|
||||||
server_groups_ids = [],
|
server_groups_ids = [],
|
||||||
image_ref = module.common_variables.ubuntu_1804
|
image_ref = module.common_variables.ubuntu_1804
|
||||||
volume = {
|
volume = {
|
||||||
|
@ -74,8 +74,8 @@ module "instance_with_data_volume" {
|
||||||
name = "geonetwork-iotcss3",
|
name = "geonetwork-iotcss3",
|
||||||
description = "This instance serves geonetwork service",
|
description = "This instance serves geonetwork service",
|
||||||
flavor = module.common_variables.flavor_list.m2_small,
|
flavor = module.common_variables.flavor_list.m2_small,
|
||||||
networks = [data.terraform_remote_state.privnet_dns_router.outputs.main_private_network.name,module.common_variables.networks_list.shared_postgresql],
|
networks = [data.terraform_remote_state.privnet_dns_router.outputs.main_private_network.name, module.common_variables.networks_list.shared_postgresql],
|
||||||
security_groups = [data.terraform_remote_state.privnet_dns_router.outputs.default_security_group_name, module.common_variables.security_group_list.http_and_https_from_the_load_balancers],
|
security_groups = [data.terraform_remote_state.privnet_dns_router.outputs.default_security_group_name, data.terraform_remote_state.privnet_dns_router.outputs.security_group_list.http_and_https_from_the_load_balancers],
|
||||||
server_groups_ids = [],
|
server_groups_ids = [],
|
||||||
image_ref = module.common_variables.ubuntu_1804
|
image_ref = module.common_variables.ubuntu_1804
|
||||||
volume = {
|
volume = {
|
||||||
|
@ -88,8 +88,8 @@ module "instance_with_data_volume" {
|
||||||
name = "geonetwork-sdilab",
|
name = "geonetwork-sdilab",
|
||||||
description = "This instance serves geonetwork service",
|
description = "This instance serves geonetwork service",
|
||||||
flavor = module.common_variables.flavor_list.m2_small,
|
flavor = module.common_variables.flavor_list.m2_small,
|
||||||
networks = [data.terraform_remote_state.privnet_dns_router.outputs.main_private_network.name,module.common_variables.networks_list.shared_postgresql],
|
networks = [data.terraform_remote_state.privnet_dns_router.outputs.main_private_network.name, module.common_variables.networks_list.shared_postgresql],
|
||||||
security_groups = [data.terraform_remote_state.privnet_dns_router.outputs.default_security_group_name, module.common_variables.security_group_list.http_and_https_from_the_load_balancers],
|
security_groups = [data.terraform_remote_state.privnet_dns_router.outputs.default_security_group_name, data.terraform_remote_state.privnet_dns_router.outputs.security_group_list.http_and_https_from_the_load_balancers],
|
||||||
server_groups_ids = [],
|
server_groups_ids = [],
|
||||||
image_ref = module.common_variables.ubuntu_1804
|
image_ref = module.common_variables.ubuntu_1804
|
||||||
volume = {
|
volume = {
|
||||||
|
@ -102,8 +102,8 @@ module "instance_with_data_volume" {
|
||||||
name = "geonetwork-spatialdata",
|
name = "geonetwork-spatialdata",
|
||||||
description = "This instance serves geonetwork service",
|
description = "This instance serves geonetwork service",
|
||||||
flavor = module.common_variables.flavor_list.m2_small,
|
flavor = module.common_variables.flavor_list.m2_small,
|
||||||
networks = [data.terraform_remote_state.privnet_dns_router.outputs.main_private_network.name,module.common_variables.networks_list.shared_postgresql],
|
networks = [data.terraform_remote_state.privnet_dns_router.outputs.main_private_network.name, module.common_variables.networks_list.shared_postgresql],
|
||||||
security_groups = [data.terraform_remote_state.privnet_dns_router.outputs.default_security_group_name, module.common_variables.security_group_list.http_and_https_from_the_load_balancers],
|
security_groups = [data.terraform_remote_state.privnet_dns_router.outputs.default_security_group_name, data.terraform_remote_state.privnet_dns_router.outputs.security_group_list.http_and_https_from_the_load_balancers],
|
||||||
image_ref = module.common_variables.ubuntu_1804
|
image_ref = module.common_variables.ubuntu_1804
|
||||||
server_groups_ids = [],
|
server_groups_ids = [],
|
||||||
volume = {
|
volume = {
|
||||||
|
@ -116,8 +116,8 @@ module "instance_with_data_volume" {
|
||||||
name = "geonetwork-wecafcfirms",
|
name = "geonetwork-wecafcfirms",
|
||||||
description = "This instance serves geonetwork service",
|
description = "This instance serves geonetwork service",
|
||||||
flavor = module.common_variables.flavor_list.m2_small,
|
flavor = module.common_variables.flavor_list.m2_small,
|
||||||
networks = [data.terraform_remote_state.privnet_dns_router.outputs.main_private_network.name,module.common_variables.networks_list.shared_postgresql],
|
networks = [data.terraform_remote_state.privnet_dns_router.outputs.main_private_network.name, module.common_variables.networks_list.shared_postgresql],
|
||||||
security_groups = [data.terraform_remote_state.privnet_dns_router.outputs.default_security_group_name, module.common_variables.security_group_list.http_and_https_from_the_load_balancers],
|
security_groups = [data.terraform_remote_state.privnet_dns_router.outputs.default_security_group_name, data.terraform_remote_state.privnet_dns_router.outputs.security_group_list.http_and_https_from_the_load_balancers],
|
||||||
image_ref = module.common_variables.ubuntu_1804
|
image_ref = module.common_variables.ubuntu_1804
|
||||||
server_groups_ids = [],
|
server_groups_ids = [],
|
||||||
volume = {
|
volume = {
|
||||||
|
@ -130,8 +130,8 @@ module "instance_with_data_volume" {
|
||||||
name = "geonetwork-bluecloud",
|
name = "geonetwork-bluecloud",
|
||||||
description = "This instance serves geonetwork service",
|
description = "This instance serves geonetwork service",
|
||||||
flavor = module.common_variables.flavor_list.m2_small,
|
flavor = module.common_variables.flavor_list.m2_small,
|
||||||
networks = [data.terraform_remote_state.privnet_dns_router.outputs.main_private_network.name,module.common_variables.networks_list.shared_postgresql],
|
networks = [data.terraform_remote_state.privnet_dns_router.outputs.main_private_network.name, module.common_variables.networks_list.shared_postgresql],
|
||||||
security_groups = [data.terraform_remote_state.privnet_dns_router.outputs.default_security_group_name, module.common_variables.security_group_list.http_and_https_from_the_load_balancers],
|
security_groups = [data.terraform_remote_state.privnet_dns_router.outputs.default_security_group_name, data.terraform_remote_state.privnet_dns_router.outputs.security_group_list.http_and_https_from_the_load_balancers],
|
||||||
image_ref = module.common_variables.ubuntu_1804
|
image_ref = module.common_variables.ubuntu_1804
|
||||||
server_groups_ids = [],
|
server_groups_ids = [],
|
||||||
volume = {
|
volume = {
|
||||||
|
@ -144,8 +144,8 @@ module "instance_with_data_volume" {
|
||||||
name = "geonetwork-tunaatlas",
|
name = "geonetwork-tunaatlas",
|
||||||
description = "This instance serves geonetwork service",
|
description = "This instance serves geonetwork service",
|
||||||
flavor = module.common_variables.flavor_list.m2_small,
|
flavor = module.common_variables.flavor_list.m2_small,
|
||||||
networks = [data.terraform_remote_state.privnet_dns_router.outputs.main_private_network.name,module.common_variables.networks_list.shared_postgresql],
|
networks = [data.terraform_remote_state.privnet_dns_router.outputs.main_private_network.name, module.common_variables.networks_list.shared_postgresql],
|
||||||
security_groups = [data.terraform_remote_state.privnet_dns_router.outputs.default_security_group_name, module.common_variables.security_group_list.http_and_https_from_the_load_balancers],
|
security_groups = [data.terraform_remote_state.privnet_dns_router.outputs.default_security_group_name, data.terraform_remote_state.privnet_dns_router.outputs.security_group_list.http_and_https_from_the_load_balancers],
|
||||||
image_ref = module.common_variables.ubuntu_1804
|
image_ref = module.common_variables.ubuntu_1804
|
||||||
server_groups_ids = [],
|
server_groups_ids = [],
|
||||||
volume = {
|
volume = {
|
||||||
|
@ -158,8 +158,8 @@ module "instance_with_data_volume" {
|
||||||
name = "geonetwork-globalfisheriesatlas",
|
name = "geonetwork-globalfisheriesatlas",
|
||||||
description = "This instance serves geonetwork service",
|
description = "This instance serves geonetwork service",
|
||||||
flavor = module.common_variables.flavor_list.m2_small,
|
flavor = module.common_variables.flavor_list.m2_small,
|
||||||
networks = [data.terraform_remote_state.privnet_dns_router.outputs.main_private_network.name,module.common_variables.networks_list.shared_postgresql],
|
networks = [data.terraform_remote_state.privnet_dns_router.outputs.main_private_network.name, module.common_variables.networks_list.shared_postgresql],
|
||||||
security_groups = [data.terraform_remote_state.privnet_dns_router.outputs.default_security_group_name, module.common_variables.security_group_list.http_and_https_from_the_load_balancers],
|
security_groups = [data.terraform_remote_state.privnet_dns_router.outputs.default_security_group_name, data.terraform_remote_state.privnet_dns_router.outputs.security_group_list.http_and_https_from_the_load_balancers],
|
||||||
image_ref = module.common_variables.ubuntu_1804
|
image_ref = module.common_variables.ubuntu_1804
|
||||||
server_groups_ids = [],
|
server_groups_ids = [],
|
||||||
volume = {
|
volume = {
|
||||||
|
@ -172,8 +172,8 @@ module "instance_with_data_volume" {
|
||||||
name = "geonetwork-prod",
|
name = "geonetwork-prod",
|
||||||
description = "This instance serves geonetwork service",
|
description = "This instance serves geonetwork service",
|
||||||
flavor = module.common_variables.flavor_list.m1_large,
|
flavor = module.common_variables.flavor_list.m1_large,
|
||||||
networks = [data.terraform_remote_state.privnet_dns_router.outputs.main_private_network.name,module.common_variables.networks_list.shared_postgresql],
|
networks = [data.terraform_remote_state.privnet_dns_router.outputs.main_private_network.name, module.common_variables.networks_list.shared_postgresql],
|
||||||
security_groups = [data.terraform_remote_state.privnet_dns_router.outputs.default_security_group_name, module.common_variables.security_group_list.http_and_https_from_the_load_balancers],
|
security_groups = [data.terraform_remote_state.privnet_dns_router.outputs.default_security_group_name, data.terraform_remote_state.privnet_dns_router.outputs.security_group_list.http_and_https_from_the_load_balancers],
|
||||||
image_ref = module.common_variables.ubuntu_1804
|
image_ref = module.common_variables.ubuntu_1804
|
||||||
server_groups_ids = [],
|
server_groups_ids = [],
|
||||||
volume = {
|
volume = {
|
||||||
|
|
Loading…
Reference in New Issue