Added geoserver for Itineris Clima

This commit is contained in:
Giancarlo Panichi 2024-05-21 18:20:16 +02:00
parent bc1d5e5281
commit 47a3844d57
2 changed files with 181 additions and 1 deletions

View File

@ -182,6 +182,20 @@ module "instance_with_data_volume" {
size = "40",
device = "/dev/vdb",
}
},
geoserver_itineris_clima = {
name = "geoserver-itineris-clima",
description = "Geoserver itineris clima instance",
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],
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 = [],
image_ref = module.common_variables.ubuntu_1804,
volume = {
name = "geoserver_itineris_clima_data_volume",
size = "40",
device = "/dev/vdb",
}
}
}
}
@ -285,6 +299,14 @@ module "dns_records_create" {
ttl = 8600
type = "CNAME"
records = [local.cname_target]
},
geoserver-itineris-clima = {
zone_id = data.terraform_remote_state.privnet_dns_router.outputs.dns_zone_id
name = join(".", ["geoserver-itineris-clima", data.terraform_remote_state.privnet_dns_router.outputs.dns_zone.zone_name])
description = "Geoserver geoserver-itineris-clima"
ttl = 8600
type = "CNAME"
records = [local.cname_target]
}
}
}

View File

@ -1,7 +1,7 @@
{
"version": 4,
"terraform_version": "1.6.4",
"serial": 66,
"serial": 71,
"lineage": "de164650-89d7-4446-7bbf-4d84dd648c8e",
"outputs": {},
"resources": [
@ -551,6 +551,31 @@
"data.terraform_remote_state.privnet_dns_router"
]
},
{
"index_key": "geoserver-itineris-clima",
"schema_version": 0,
"attributes": {
"description": "Geoserver geoserver-itineris-clima",
"disable_status_check": false,
"id": "74135b34-1a9c-4c01-8cf0-22450a5660c4/6092896c-e466-4b27-968e-e34257b3bee7",
"name": "geoserver-itineris-clima.cloud.d4science.org.",
"project_id": "1b45adf388934758b56d0dfdb4bfacf3",
"records": [
"main-lb.cloud.d4science.org."
],
"region": "isti_area_pi_1",
"timeouts": null,
"ttl": 8600,
"type": "CNAME",
"value_specs": null,
"zone_id": "74135b34-1a9c-4c01-8cf0-22450a5660c4"
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwLCJ1cGRhdGUiOjYwMDAwMDAwMDAwMH19",
"dependencies": [
"data.terraform_remote_state.privnet_dns_router"
]
},
{
"index_key": "geoserver-itineris-critical-zone",
"schema_version": 0,
@ -895,6 +920,35 @@
"data.terraform_remote_state.privnet_dns_router"
]
},
{
"index_key": "geoserver_itineris_clima",
"schema_version": 0,
"attributes": {
"attachment": [],
"availability_zone": "nova",
"consistency_group_id": null,
"description": "",
"enable_online_resize": null,
"id": "c859a1ca-bb00-4f5c-99e8-a207be772058",
"image_id": null,
"metadata": {},
"multiattach": null,
"name": "geoserver_itineris_clima_data_volume",
"region": "isti_area_pi_1",
"scheduler_hints": [],
"size": 40,
"snapshot_id": "",
"source_replica": null,
"source_vol_id": "",
"timeouts": null,
"volume_type": "cephUnencrypted"
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=",
"dependencies": [
"data.terraform_remote_state.privnet_dns_router"
]
},
{
"index_key": "geoserver_itineris_critical_zone",
"schema_version": 0,
@ -1577,6 +1631,89 @@
"data.terraform_remote_state.privnet_dns_router"
]
},
{
"index_key": "geoserver_itineris_clima",
"schema_version": 0,
"attributes": {
"access_ip_v4": "10.1.41.108",
"access_ip_v6": "",
"admin_pass": null,
"all_metadata": {},
"all_tags": [],
"availability_zone": "cnr-isti-nova-a",
"availability_zone_hints": "cnr-isti-nova-a",
"block_device": [
{
"boot_index": 0,
"delete_on_termination": false,
"destination_type": "volume",
"device_type": "",
"disk_bus": "",
"guest_format": "",
"multiattach": false,
"source_type": "image",
"uuid": "7ed6a2cd-2b07-482e-8ce4-f018dff16c89",
"volume_size": 10,
"volume_type": ""
}
],
"config_drive": null,
"created": "2024-05-21 15:45:02 +0000 UTC",
"flavor_id": "9",
"flavor_name": "m1.large",
"floating_ip": null,
"force_delete": false,
"id": "94dc38cb-5f5a-44c4-bcb5-95837f6c6e83",
"image_id": "Attempt to boot from volume - no image supplied",
"image_name": null,
"key_pair": "Giancarlo Panichi",
"metadata": null,
"name": "geoserver-itineris-clima",
"network": [
{
"access_network": false,
"fixed_ip_v4": "10.1.41.108",
"fixed_ip_v6": "",
"floating_ip": "",
"mac": "fa:16:3e:fb:8c:7b",
"name": "d4s-production-cloud-main",
"port": "",
"uuid": "020df98d-ae72-452a-b376-3b6dc289acac"
},
{
"access_network": false,
"fixed_ip_v4": "192.168.2.215",
"fixed_ip_v6": "",
"floating_ip": "",
"mac": "fa:16:3e:85:f8:87",
"name": "postgresql-srv-net",
"port": "",
"uuid": "f6450bc8-1345-4b52-8f34-2903c0cca7f8"
}
],
"network_mode": null,
"personality": [],
"power_state": "active",
"region": "isti_area_pi_1",
"scheduler_hints": [],
"security_groups": [
"default_for_all",
"traffic_from_the_main_load_balancers"
],
"stop_before_destroy": false,
"tags": null,
"timeouts": null,
"updated": "2024-05-21 15:45:48 +0000 UTC",
"user_data": "47d4769e61324c305c4b70ed6673de4fad84150d",
"vendor_options": [],
"volume": []
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxODAwMDAwMDAwMDAwLCJkZWxldGUiOjE4MDAwMDAwMDAwMDAsInVwZGF0ZSI6MTgwMDAwMDAwMDAwMH19",
"dependencies": [
"data.terraform_remote_state.privnet_dns_router"
]
},
{
"index_key": "geoserver_itineris_critical_zone",
"schema_version": 0,
@ -2127,6 +2264,27 @@
"module.instance_with_data_volume.openstack_compute_instance_v2.instance_with_data_volume"
]
},
{
"index_key": "geoserver_itineris_clima",
"schema_version": 0,
"attributes": {
"device": "/dev/vdb",
"id": "94dc38cb-5f5a-44c4-bcb5-95837f6c6e83/c859a1ca-bb00-4f5c-99e8-a207be772058",
"instance_id": "94dc38cb-5f5a-44c4-bcb5-95837f6c6e83",
"multiattach": null,
"region": "isti_area_pi_1",
"timeouts": null,
"vendor_options": [],
"volume_id": "c859a1ca-bb00-4f5c-99e8-a207be772058"
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=",
"dependencies": [
"data.terraform_remote_state.privnet_dns_router",
"module.instance_with_data_volume.openstack_blockstorage_volume_v3.instance_data_volume",
"module.instance_with_data_volume.openstack_compute_instance_v2.instance_with_data_volume"
]
},
{
"index_key": "geoserver_itineris_critical_zone",
"schema_version": 0,