459 lines
14 KiB
Plaintext
459 lines
14 KiB
Plaintext
|
{
|
||
|
"version": 4,
|
||
|
"terraform_version": "1.6.4",
|
||
|
"serial": 9,
|
||
|
"lineage": "bf9ecdb8-7459-9f10-1cdf-ba4f9ac6fc36",
|
||
|
"outputs": {
|
||
|
"almalinux9_img": {
|
||
|
"value": {
|
||
|
"name": "AlmaLinux-9.0-20220718",
|
||
|
"uuid": "541650fc-dd19-4f38-bb1d-7333ed9dd688"
|
||
|
},
|
||
|
"type": [
|
||
|
"map",
|
||
|
"string"
|
||
|
]
|
||
|
},
|
||
|
"availability_zone_no_gpu_name": {
|
||
|
"value": "cnr-isti-nova-a",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"availability_zone_with_gpu_name": {
|
||
|
"value": "cnr-isti-nova-gpu-a",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"centos7_img": {
|
||
|
"value": {
|
||
|
"name": "CentOS-7",
|
||
|
"uuid": "f0187a99-64f6-462a-ab5f-ef52fe62f2ca"
|
||
|
},
|
||
|
"type": [
|
||
|
"map",
|
||
|
"string"
|
||
|
]
|
||
|
},
|
||
|
"el7_datafile": {
|
||
|
"value": "../../openstack_vm_data_scripts/el7.sh",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"external_network_id": {
|
||
|
"value": "1d2ff137-6ff7-4017-be2b-0d6c4af2353b",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"external_network_name": {
|
||
|
"value": "external-network",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"main_region_name": {
|
||
|
"value": "isti_area_pi_1",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"mtu_size_value": {
|
||
|
"value": 8942,
|
||
|
"type": "number"
|
||
|
},
|
||
|
"resolvers_ip": {
|
||
|
"value": [
|
||
|
"146.48.29.97",
|
||
|
"146.48.29.98",
|
||
|
"146.48.29.99"
|
||
|
],
|
||
|
"type": [
|
||
|
"list",
|
||
|
"string"
|
||
|
]
|
||
|
},
|
||
|
"ssh_key_file_config": {
|
||
|
"value": {
|
||
|
"file": "~/.ssh/id_ed25519",
|
||
|
"name": "adellam"
|
||
|
},
|
||
|
"type": [
|
||
|
"map",
|
||
|
"string"
|
||
|
]
|
||
|
},
|
||
|
"ssh_sources_list": {
|
||
|
"value": {
|
||
|
"d4s_vpn_1_cidr": "146.48.122.27/32",
|
||
|
"d4s_vpn_2_cidr": "146.48.122.49/32",
|
||
|
"infrascience_net_cidr": "146.48.122.0/23",
|
||
|
"s2i2s_vpn_1_cidr": "146.48.28.10/32",
|
||
|
"s2i2s_vpn_2_cidr": "146.48.28.11/32",
|
||
|
"shell_d4s_cidr": "146.48.122.95/32"
|
||
|
},
|
||
|
"type": [
|
||
|
"map",
|
||
|
"string"
|
||
|
]
|
||
|
},
|
||
|
"ubuntu1804_datafile": {
|
||
|
"value": "../../openstack_vm_data_scripts/ubuntu1804.sh",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"ubuntu1804_img": {
|
||
|
"value": {
|
||
|
"name": "Ubuntu-Bionic-18.04",
|
||
|
"uuid": "7ed6a2cd-2b07-482e-8ce4-f018dff16c89"
|
||
|
},
|
||
|
"type": [
|
||
|
"map",
|
||
|
"string"
|
||
|
]
|
||
|
},
|
||
|
"ubuntu2204_datafile": {
|
||
|
"value": "../../openstack_vm_data_scripts/ubuntu2204.sh",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"ubuntu2204_img": {
|
||
|
"value": {
|
||
|
"name": "Ubuntu-Jammy-22.04",
|
||
|
"uuid": "54768889-8556-4be4-a2eb-82a4d9b34627"
|
||
|
},
|
||
|
"type": [
|
||
|
"map",
|
||
|
"string"
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"resources": [
|
||
|
{
|
||
|
"mode": "data",
|
||
|
"type": "terraform_remote_state",
|
||
|
"name": "privnet_dns_router",
|
||
|
"provider": "provider[\"terraform.io/builtin/terraform\"]",
|
||
|
"instances": [
|
||
|
{
|
||
|
"schema_version": 0,
|
||
|
"attributes": {
|
||
|
"backend": "local",
|
||
|
"config": {
|
||
|
"value": {
|
||
|
"path": "../project-setup/terraform.tfstate"
|
||
|
},
|
||
|
"type": [
|
||
|
"object",
|
||
|
{
|
||
|
"path": "string"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"defaults": null,
|
||
|
"outputs": {
|
||
|
"value": {
|
||
|
"dns_zone_id": "cbae638a-9d99-44aa-946c-0f5ffb7fc488",
|
||
|
"external_gateway_ip": "146.48.31.109",
|
||
|
"main_private_network_id": "e0af5eba-f24a-4d0d-8184-bc654b980c4a",
|
||
|
"main_subnet_network_id": "2aa977f2-80b4-447c-a6b0-dfa06bf68751"
|
||
|
},
|
||
|
"type": [
|
||
|
"object",
|
||
|
{
|
||
|
"dns_zone_id": "string",
|
||
|
"external_gateway_ip": "string",
|
||
|
"main_private_network_id": "string",
|
||
|
"main_subnet_network_id": "string"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"workspace": null
|
||
|
},
|
||
|
"sensitive_attributes": []
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"mode": "managed",
|
||
|
"type": "openstack_compute_instance_v2",
|
||
|
"name": "timescaledb_server",
|
||
|
"provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]",
|
||
|
"instances": [
|
||
|
{
|
||
|
"index_key": 0,
|
||
|
"schema_version": 0,
|
||
|
"attributes": {
|
||
|
"access_ip_v4": "10.1.29.68",
|
||
|
"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": "54768889-8556-4be4-a2eb-82a4d9b34627",
|
||
|
"volume_size": 10,
|
||
|
"volume_type": ""
|
||
|
},
|
||
|
{
|
||
|
"boot_index": -1,
|
||
|
"delete_on_termination": false,
|
||
|
"destination_type": "volume",
|
||
|
"device_type": "",
|
||
|
"disk_bus": "",
|
||
|
"guest_format": "",
|
||
|
"multiattach": false,
|
||
|
"source_type": "blank",
|
||
|
"uuid": "",
|
||
|
"volume_size": 20,
|
||
|
"volume_type": ""
|
||
|
}
|
||
|
],
|
||
|
"config_drive": null,
|
||
|
"created": "2023-11-20 17:33:21 +0000 UTC",
|
||
|
"flavor_id": "4",
|
||
|
"flavor_name": "m1.medium",
|
||
|
"floating_ip": null,
|
||
|
"force_delete": false,
|
||
|
"id": "d7eb9df4-3c31-439e-b82b-bb55221a5ebb",
|
||
|
"image_id": "Attempt to boot from volume - no image supplied",
|
||
|
"image_name": null,
|
||
|
"key_pair": "adellam",
|
||
|
"metadata": null,
|
||
|
"name": "timescaledb",
|
||
|
"network": [
|
||
|
{
|
||
|
"access_network": false,
|
||
|
"fixed_ip_v4": "10.1.29.68",
|
||
|
"fixed_ip_v6": "",
|
||
|
"floating_ip": "",
|
||
|
"mac": "fa:16:3e:76:2f:cd",
|
||
|
"name": "d4s-dev-cloud-main",
|
||
|
"port": "",
|
||
|
"uuid": "e0af5eba-f24a-4d0d-8184-bc654b980c4a"
|
||
|
},
|
||
|
{
|
||
|
"access_network": false,
|
||
|
"fixed_ip_v4": "192.168.11.5",
|
||
|
"fixed_ip_v6": "",
|
||
|
"floating_ip": "",
|
||
|
"mac": "fa:16:3e:c3:c4:36",
|
||
|
"name": "timescaledb-net",
|
||
|
"port": "",
|
||
|
"uuid": "ec57aa06-17c8-4475-b4c2-3783f3c7ec7a"
|
||
|
}
|
||
|
],
|
||
|
"network_mode": null,
|
||
|
"personality": [],
|
||
|
"power_state": "active",
|
||
|
"region": "isti_area_pi_1",
|
||
|
"scheduler_hints": [
|
||
|
{
|
||
|
"additional_properties": null,
|
||
|
"build_near_host_ip": "",
|
||
|
"different_cell": [],
|
||
|
"different_host": [],
|
||
|
"group": "7cffdd37-180e-412e-b836-6052f616fbe3",
|
||
|
"query": [],
|
||
|
"same_host": [],
|
||
|
"target_cell": ""
|
||
|
}
|
||
|
],
|
||
|
"security_groups": [
|
||
|
"access_to_the_timescaledb_service",
|
||
|
"default"
|
||
|
],
|
||
|
"stop_before_destroy": false,
|
||
|
"tags": null,
|
||
|
"timeouts": null,
|
||
|
"updated": "2023-11-20 17:34:00 +0000 UTC",
|
||
|
"user_data": "bb83b25fd1219aa1b850ece9be8d7b0f31714608",
|
||
|
"vendor_options": [],
|
||
|
"volume": []
|
||
|
},
|
||
|
"sensitive_attributes": [],
|
||
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxODAwMDAwMDAwMDAwLCJkZWxldGUiOjE4MDAwMDAwMDAwMDAsInVwZGF0ZSI6MTgwMDAwMDAwMDAwMH19",
|
||
|
"dependencies": [
|
||
|
"openstack_compute_servergroup_v2.timescaledb_cluster",
|
||
|
"openstack_networking_network_v2.timescaledb_net",
|
||
|
"openstack_networking_secgroup_v2.timescaledb_access",
|
||
|
"openstack_networking_subnet_v2.timescaledb_subnet"
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"mode": "managed",
|
||
|
"type": "openstack_compute_servergroup_v2",
|
||
|
"name": "timescaledb_cluster",
|
||
|
"provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]",
|
||
|
"instances": [
|
||
|
{
|
||
|
"schema_version": 0,
|
||
|
"attributes": {
|
||
|
"id": "7cffdd37-180e-412e-b836-6052f616fbe3",
|
||
|
"members": [],
|
||
|
"name": "timescaledb_cluster",
|
||
|
"policies": [
|
||
|
"soft-anti-affinity"
|
||
|
],
|
||
|
"region": "isti_area_pi_1",
|
||
|
"rules": [
|
||
|
{
|
||
|
"max_server_per_host": 0
|
||
|
}
|
||
|
],
|
||
|
"value_specs": null
|
||
|
},
|
||
|
"sensitive_attributes": [],
|
||
|
"private": "bnVsbA=="
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"mode": "managed",
|
||
|
"type": "openstack_networking_network_v2",
|
||
|
"name": "timescaledb_net",
|
||
|
"provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]",
|
||
|
"instances": [
|
||
|
{
|
||
|
"schema_version": 0,
|
||
|
"attributes": {
|
||
|
"admin_state_up": true,
|
||
|
"all_tags": [],
|
||
|
"availability_zone_hints": [],
|
||
|
"description": "Network used by the Timescaledb cluster and to access the service",
|
||
|
"dns_domain": "cloud-dev.d4science.org.",
|
||
|
"external": false,
|
||
|
"id": "ec57aa06-17c8-4475-b4c2-3783f3c7ec7a",
|
||
|
"mtu": 8942,
|
||
|
"name": "timescaledb-net",
|
||
|
"port_security_enabled": true,
|
||
|
"qos_policy_id": "",
|
||
|
"region": "isti_area_pi_1",
|
||
|
"segments": [],
|
||
|
"shared": false,
|
||
|
"tags": [],
|
||
|
"tenant_id": "e8f8ca72f30648a8b389b4e745ac83a9",
|
||
|
"timeouts": null,
|
||
|
"transparent_vlan": false,
|
||
|
"value_specs": null
|
||
|
},
|
||
|
"sensitive_attributes": [],
|
||
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0="
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"mode": "managed",
|
||
|
"type": "openstack_networking_secgroup_rule_v2",
|
||
|
"name": "timescaledb_access_from_dedicated_subnet",
|
||
|
"provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]",
|
||
|
"instances": [
|
||
|
{
|
||
|
"schema_version": 0,
|
||
|
"attributes": {
|
||
|
"description": "Allow connections to port 5432 from the 192.168.11.0/24 network",
|
||
|
"direction": "ingress",
|
||
|
"ethertype": "IPv4",
|
||
|
"id": "fbcc6b71-0675-4187-83a9-e48cbafbeaa0",
|
||
|
"port_range_max": 5432,
|
||
|
"port_range_min": 5432,
|
||
|
"protocol": "tcp",
|
||
|
"region": "isti_area_pi_1",
|
||
|
"remote_group_id": "",
|
||
|
"remote_ip_prefix": "192.168.11.0/24",
|
||
|
"security_group_id": "5031077a-d6ca-4bf8-a8b7-efa5235fde03",
|
||
|
"tenant_id": "e8f8ca72f30648a8b389b4e745ac83a9",
|
||
|
"timeouts": null
|
||
|
},
|
||
|
"sensitive_attributes": [],
|
||
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiZGVsZXRlIjo2MDAwMDAwMDAwMDB9fQ==",
|
||
|
"dependencies": [
|
||
|
"openstack_networking_secgroup_v2.timescaledb_access"
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"mode": "managed",
|
||
|
"type": "openstack_networking_secgroup_v2",
|
||
|
"name": "timescaledb_access",
|
||
|
"provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]",
|
||
|
"instances": [
|
||
|
{
|
||
|
"schema_version": 0,
|
||
|
"attributes": {
|
||
|
"all_tags": [],
|
||
|
"delete_default_rules": true,
|
||
|
"description": "Access the shared TimeScaleDB service using the dedicated network",
|
||
|
"id": "5031077a-d6ca-4bf8-a8b7-efa5235fde03",
|
||
|
"name": "access_to_the_timescaledb_service",
|
||
|
"region": "isti_area_pi_1",
|
||
|
"tags": [],
|
||
|
"tenant_id": "e8f8ca72f30648a8b389b4e745ac83a9",
|
||
|
"timeouts": null
|
||
|
},
|
||
|
"sensitive_attributes": [],
|
||
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiZGVsZXRlIjo2MDAwMDAwMDAwMDB9fQ=="
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"mode": "managed",
|
||
|
"type": "openstack_networking_subnet_v2",
|
||
|
"name": "timescaledb_subnet",
|
||
|
"provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]",
|
||
|
"instances": [
|
||
|
{
|
||
|
"schema_version": 0,
|
||
|
"attributes": {
|
||
|
"all_tags": [],
|
||
|
"allocation_pool": [
|
||
|
{
|
||
|
"end": "192.168.11.254",
|
||
|
"start": "192.168.11.20"
|
||
|
}
|
||
|
],
|
||
|
"allocation_pools": [
|
||
|
{
|
||
|
"end": "192.168.11.254",
|
||
|
"start": "192.168.11.20"
|
||
|
}
|
||
|
],
|
||
|
"cidr": "192.168.11.0/24",
|
||
|
"description": "subnet used to connect to the shared TimeScaleDB service",
|
||
|
"dns_nameservers": [
|
||
|
"146.48.29.97",
|
||
|
"146.48.29.98",
|
||
|
"146.48.29.99"
|
||
|
],
|
||
|
"enable_dhcp": true,
|
||
|
"gateway_ip": "",
|
||
|
"host_routes": [],
|
||
|
"id": "37cab9bc-9154-4d95-8f9a-83df111f6e37",
|
||
|
"ip_version": 4,
|
||
|
"ipv6_address_mode": "",
|
||
|
"ipv6_ra_mode": "",
|
||
|
"name": "timescaledb-subnet",
|
||
|
"network_id": "ec57aa06-17c8-4475-b4c2-3783f3c7ec7a",
|
||
|
"no_gateway": true,
|
||
|
"prefix_length": null,
|
||
|
"region": "isti_area_pi_1",
|
||
|
"service_types": [],
|
||
|
"subnetpool_id": "",
|
||
|
"tags": [],
|
||
|
"tenant_id": "e8f8ca72f30648a8b389b4e745ac83a9",
|
||
|
"timeouts": null,
|
||
|
"value_specs": null
|
||
|
},
|
||
|
"sensitive_attributes": [],
|
||
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=",
|
||
|
"dependencies": [
|
||
|
"openstack_networking_network_v2.timescaledb_net"
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"check_results": null
|
||
|
}
|