From dfcb50a5918d36abbf5787e5f8c879bad2a1f17a Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Tue, 30 Jan 2024 15:34:38 +0100 Subject: [PATCH] New gCore DNS records. --- .../d4s-production/gcore-services/main.tf | 24 ++++++ .../gcore-services/terraform.tfstate | 77 ++++++++++++++++++- 2 files changed, 100 insertions(+), 1 deletion(-) diff --git a/openstack-tf/d4s-production/gcore-services/main.tf b/openstack-tf/d4s-production/gcore-services/main.tf index 24f8274..6a9f867 100644 --- a/openstack-tf/d4s-production/gcore-services/main.tf +++ b/openstack-tf/d4s-production/gcore-services/main.tf @@ -90,6 +90,30 @@ module "dns_records_create" { ttl = 8600 type = "CNAME" records = [local.cname_target] + }, + vremodeler-gcubeapps = { + zone_id = data.terraform_remote_state.privnet_dns_router.outputs.dns_zone_id + name = join(".", ["vremodeler-gcubeapps", data.terraform_remote_state.privnet_dns_router.outputs.dns_zone.zone_name]) + description = "gCore vremodeler-gcubeapps" + ttl = 8600 + type = "CNAME" + records = [local.cname_target] + }, + vremodeler-d4research = { + zone_id = data.terraform_remote_state.privnet_dns_router.outputs.dns_zone_id + name = join(".", ["vremodeler-d4research", data.terraform_remote_state.privnet_dns_router.outputs.dns_zone.zone_name]) + description = "gCore vremodeler-d4research" + ttl = 8600 + type = "CNAME" + records = [local.cname_target] + }, + vremodeler-all = { + zone_id = data.terraform_remote_state.privnet_dns_router.outputs.dns_zone_id + name = join(".", ["vremodeler-all", data.terraform_remote_state.privnet_dns_router.outputs.dns_zone.zone_name]) + description = "gCore vremodeler-all" + ttl = 8600 + type = "CNAME" + records = [local.cname_target] } } } diff --git a/openstack-tf/d4s-production/gcore-services/terraform.tfstate b/openstack-tf/d4s-production/gcore-services/terraform.tfstate index d1c01ee..df91b1b 100644 --- a/openstack-tf/d4s-production/gcore-services/terraform.tfstate +++ b/openstack-tf/d4s-production/gcore-services/terraform.tfstate @@ -1,7 +1,7 @@ { "version": 4, "terraform_version": "1.6.6", - "serial": 10, + "serial": 14, "lineage": "0f20c78f-bcfa-7a96-7a73-cabf9dc181bf", "outputs": {}, "resources": [ @@ -564,6 +564,81 @@ "dependencies": [ "data.terraform_remote_state.privnet_dns_router" ] + }, + { + "index_key": "vremodeler-all", + "schema_version": 0, + "attributes": { + "description": "gCore vremodeler-all", + "disable_status_check": false, + "id": "74135b34-1a9c-4c01-8cf0-22450a5660c4/60924404-1cc7-4dd2-bf19-bac0093b1aa7", + "name": "vremodeler-all.cloud.d4science.org.", + "project_id": "1b45adf388934758b56d0dfdb4bfacf3", + "records": [ + "swarm-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": "vremodeler-d4research", + "schema_version": 0, + "attributes": { + "description": "gCore vremodeler-d4research", + "disable_status_check": false, + "id": "74135b34-1a9c-4c01-8cf0-22450a5660c4/b48b8771-f6b7-42bb-99bc-f45ce80e91f6", + "name": "vremodeler-d4research.cloud.d4science.org.", + "project_id": "1b45adf388934758b56d0dfdb4bfacf3", + "records": [ + "swarm-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": "vremodeler-gcubeapps", + "schema_version": 0, + "attributes": { + "description": "gCore vremodeler-gcubeapps", + "disable_status_check": false, + "id": "74135b34-1a9c-4c01-8cf0-22450a5660c4/e28c2254-8f37-45f3-9b72-e250b7c00695", + "name": "vremodeler-gcubeapps.cloud.d4science.org.", + "project_id": "1b45adf388934758b56d0dfdb4bfacf3", + "records": [ + "swarm-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" + ] } ] }