Updated sdi1 server in production

This commit is contained in:
Giancarlo Panichi 2024-01-26 12:19:35 +01:00
parent 04cfbffcc2
commit 6378bc9f1a
2 changed files with 20 additions and 20 deletions

View File

@ -27,8 +27,8 @@ module "instance_without_data_volume" {
source = "../../modules/instance_without_data_volume"
instances_without_data_volume_map = {
sdi1_prod = {
name = "sdi1-prod",
sdi1 = {
name = "sdi1",
description = "This instance is a SDI service",
flavor = module.common_variables.flavor_list.m1_medium,
networks = [data.terraform_remote_state.privnet_dns_router.outputs.main_private_network.name, module.common_variables.networks_list.shared_postgresql],
@ -51,9 +51,9 @@ module "dns_records_create" {
source = "../../modules/dns_resources"
dns_resources_map = {
sdi1-prod = {
sdi1 = {
zone_id = data.terraform_remote_state.privnet_dns_router.outputs.dns_zone_id
name = join(".", ["sdi1-prod", data.terraform_remote_state.privnet_dns_router.outputs.dns_zone.zone_name])
name = join(".", ["sdi1", data.terraform_remote_state.privnet_dns_router.outputs.dns_zone.zone_name])
description = "SDI 1 Production"
ttl = 8600
type = "CNAME"

View File

@ -1,7 +1,7 @@
{
"version": 4,
"terraform_version": "1.6.6",
"serial": 11,
"terraform_version": "1.6.4",
"serial": 16,
"lineage": "f8fdf5b2-d660-d78d-a34e-2a6c26618a27",
"outputs": {},
"resources": [
@ -391,13 +391,13 @@
"provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]",
"instances": [
{
"index_key": "sdi1-prod",
"index_key": "sdi1",
"schema_version": 0,
"attributes": {
"description": "SDI 1 Production",
"disable_status_check": false,
"id": "74135b34-1a9c-4c01-8cf0-22450a5660c4/2ed894d8-3aa4-47bc-a738-2f41013f8172",
"name": "sdi1-prod.cloud.d4science.org.",
"id": "74135b34-1a9c-4c01-8cf0-22450a5660c4/a1217256-1249-4809-84d2-2cef4b035633",
"name": "sdi1.cloud.d4science.org.",
"project_id": "1b45adf388934758b56d0dfdb4bfacf3",
"records": [
"main-lb.cloud.d4science.org."
@ -425,10 +425,10 @@
"provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]",
"instances": [
{
"index_key": "sdi1_prod",
"index_key": "sdi1",
"schema_version": 0,
"attributes": {
"access_ip_v4": "10.1.43.53",
"access_ip_v4": "10.1.42.98",
"access_ip_v6": "",
"admin_pass": null,
"all_metadata": {},
@ -451,34 +451,34 @@
}
],
"config_drive": null,
"created": "2024-01-25 14:20:20 +0000 UTC",
"created": "2024-01-26 11:12:41 +0000 UTC",
"flavor_id": "4",
"flavor_name": "m1.medium",
"floating_ip": null,
"force_delete": false,
"id": "b55e6a63-f6df-4c84-abad-cde308df45ff",
"id": "690dcedd-ecdf-4f76-b148-5ca2fd4e57a2",
"image_id": "Attempt to boot from volume - no image supplied",
"image_name": null,
"key_pair": "adellam",
"key_pair": "Giancarlo Panichi",
"metadata": null,
"name": "sdi1-prod",
"name": "sdi1",
"network": [
{
"access_network": false,
"fixed_ip_v4": "10.1.43.53",
"fixed_ip_v4": "10.1.42.98",
"fixed_ip_v6": "",
"floating_ip": "",
"mac": "fa:16:3e:68:80:b0",
"mac": "fa:16:3e:89:92:b1",
"name": "d4s-production-cloud-main",
"port": "",
"uuid": "020df98d-ae72-452a-b376-3b6dc289acac"
},
{
"access_network": false,
"fixed_ip_v4": "192.168.1.132",
"fixed_ip_v4": "192.168.1.142",
"fixed_ip_v6": "",
"floating_ip": "",
"mac": "fa:16:3e:ed:e7:ef",
"mac": "fa:16:3e:50:54:5b",
"name": "postgresql-srv-net",
"port": "",
"uuid": "f6450bc8-1345-4b52-8f34-2903c0cca7f8"
@ -496,7 +496,7 @@
"stop_before_destroy": false,
"tags": null,
"timeouts": null,
"updated": "2024-01-25 14:20:59 +0000 UTC",
"updated": "2024-01-26 11:13:35 +0000 UTC",
"user_data": "47d4769e61324c305c4b70ed6673de4fad84150d",
"vendor_options": [],
"volume": []