diff --git a/openstack-tf/d4s-preprod/storagehub/main.tf b/openstack-tf/d4s-preprod/storagehub/main.tf index 2dd70b4..ae3841d 100644 --- a/openstack-tf/d4s-preprod/storagehub/main.tf +++ b/openstack-tf/d4s-preprod/storagehub/main.tf @@ -66,6 +66,14 @@ module "dns_records_create" { ttl = 8600 type = "CNAME" records = [local.cname_target] + }, + workspace_repository = { + zone_id = data.terraform_remote_state.privnet_dns_router.outputs.dns_zone_id + name = join(".", ["workspace-repository", data.terraform_remote_state.privnet_dns_router.outputs.dns_zone.zone_name]) + description = "Workspace repository (storagehub)" + ttl = 8600 + type = "CNAME" + records = [local.cname_target] } } } diff --git a/openstack-tf/d4s-preprod/storagehub/terraform.tfstate b/openstack-tf/d4s-preprod/storagehub/terraform.tfstate index d0d635a..65b5f69 100644 --- a/openstack-tf/d4s-preprod/storagehub/terraform.tfstate +++ b/openstack-tf/d4s-preprod/storagehub/terraform.tfstate @@ -1,7 +1,7 @@ { "version": 4, - "terraform_version": "1.6.4", - "serial": 5, + "terraform_version": "1.6.6", + "serial": 7, "lineage": "5cc26d03-8355-40e7-7983-6ef1742f597e", "outputs": {}, "resources": [ @@ -428,6 +428,31 @@ "dependencies": [ "data.terraform_remote_state.privnet_dns_router" ] + }, + { + "index_key": "workspace_repository", + "schema_version": 0, + "attributes": { + "description": "Workspace repository (storagehub)", + "disable_status_check": false, + "id": "c1a4b4bc-f167-4387-855d-38f0f99ca05c/31e09122-a806-4433-b248-6ec3965674c7", + "name": "workspace-repository.cloud-pre.d4science.org.", + "project_id": "6fdc02e2827b405dad99f34698659742", + "records": [ + "main-lb.cloud-pre.d4science.org." + ], + "region": "isti_area_pi_1", + "timeouts": null, + "ttl": 8600, + "type": "CNAME", + "value_specs": null, + "zone_id": "c1a4b4bc-f167-4387-855d-38f0f99ca05c" + }, + "sensitive_attributes": [], + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwLCJ1cGRhdGUiOjYwMDAwMDAwMDAwMH19", + "dependencies": [ + "data.terraform_remote_state.privnet_dns_router" + ] } ] }, @@ -442,7 +467,13 @@ "index_key": "storagehub", "schema_version": 0, "attributes": { - "attachment": [], + "attachment": [ + { + "device": "/dev/vdb", + "id": "2357fb1b-9072-4781-8cd5-6259f267e615", + "instance_id": "18c96196-a3bf-473c-a591-8fc2f9a9b973" + } + ], "availability_zone": "nova", "consistency_group_id": null, "description": "", @@ -546,7 +577,7 @@ "traffic_from_the_main_load_balancers" ], "stop_before_destroy": false, - "tags": null, + "tags": [], "timeouts": null, "updated": "2024-02-02 16:47:38 +0000 UTC", "user_data": "47d4769e61324c305c4b70ed6673de4fad84150d",