terraform state aggiornato

This commit is contained in:
Marco Procaccini 2024-07-10 12:35:13 +02:00
parent 7fc04aa770
commit e51fe2f5e4
1 changed files with 79 additions and 176 deletions

View File

@ -1,7 +1,7 @@
{
"version": 4,
"terraform_version": "1.8.2",
"serial": 40,
"serial": 74,
"lineage": "bdde5a96-9f05-8d0e-f78a-cd3b56b955fa",
"outputs": {
"harbor_hostname": {
@ -9,7 +9,7 @@
"type": "string"
},
"harbor_public_ip_address": {
"value": "146.48.31.28",
"value": "146.48.30.182",
"type": "string"
}
},
@ -5379,7 +5379,7 @@
"consistency_group_id": null,
"description": "",
"enable_online_resize": null,
"id": "e0787855-ee84-42bd-9803-09c11f3e9482",
"id": "0b63589f-cacd-49d5-8569-d33633817df2",
"image_id": null,
"metadata": {},
"name": "harbor-data",
@ -5412,7 +5412,7 @@
"consistency_group_id": null,
"description": "",
"enable_online_resize": null,
"id": "419fc418-2db9-4fea-9374-2fc6d3de410b",
"id": "be3e37f4-93a0-4c46-a64a-22f0e858e218",
"image_id": null,
"metadata": {},
"name": "harbor-docker",
@ -5430,6 +5430,35 @@
}
]
},
{
"mode": "managed",
"type": "openstack_compute_floatingip_associate_v2",
"name": "harbor_floatingip_associate",
"provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"fixed_ip": "10.1.43.72",
"floating_ip": "146.48.30.182",
"id": "146.48.30.182/3cdd44aa-8ae0-4704-a564-b1b0e503a81d/10.1.43.72",
"instance_id": "3cdd44aa-8ae0-4704-a564-b1b0e503a81d",
"region": "isti_area_pi_1",
"timeouts": null,
"wait_until_associated": null
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDB9fQ==",
"dependencies": [
"data.terraform_remote_state.infrastructure_setup",
"data.terraform_remote_state.privnet_dns_router",
"openstack_compute_instance_v2.harbor_server",
"openstack_networking_floatingip_v2.harbor_ip",
"openstack_networking_secgroup_v2.harbor_access_list"
]
}
]
},
{
"mode": "managed",
"type": "openstack_compute_instance_v2",
@ -5439,7 +5468,7 @@
{
"schema_version": 0,
"attributes": {
"access_ip_v4": "10.1.45.39",
"access_ip_v4": "10.1.43.72",
"access_ip_v6": "",
"admin_pass": null,
"all_metadata": {},
@ -5462,11 +5491,11 @@
}
],
"config_drive": null,
"created": "2024-07-09 17:55:03 +0000 UTC",
"created": "2024-07-10 10:22:58 +0000 UTC",
"flavor_id": "18",
"flavor_name": "m1.xxl",
"force_delete": false,
"id": "1c050a9c-396d-4b9d-881f-1d6b65959fbf",
"id": "3cdd44aa-8ae0-4704-a564-b1b0e503a81d",
"image_id": "Attempt to boot from volume - no image supplied",
"image_name": null,
"key_pair": "marcoprocaccini-key",
@ -5475,9 +5504,9 @@
"network": [
{
"access_network": false,
"fixed_ip_v4": "10.1.45.39",
"fixed_ip_v4": "10.1.43.72",
"fixed_ip_v6": "",
"mac": "fa:16:3e:23:f5:29",
"mac": "fa:16:3e:70:7a:64",
"name": "d4s-production-cloud-main",
"port": "",
"uuid": "020df98d-ae72-452a-b376-3b6dc289acac"
@ -5489,13 +5518,13 @@
"region": "isti_area_pi_1",
"scheduler_hints": [],
"security_groups": [
"access_to_the_shared_postgresql_service",
"default_for_all"
"default_for_all",
"harbor_access_list"
],
"stop_before_destroy": false,
"tags": null,
"timeouts": null,
"updated": "2024-07-09 17:55:54 +0000 UTC",
"updated": "2024-07-10 10:23:46 +0000 UTC",
"user_data": "bb83b25fd1219aa1b850ece9be8d7b0f31714608",
"vendor_options": []
},
@ -5508,37 +5537,9 @@
]
],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxODAwMDAwMDAwMDAwLCJkZWxldGUiOjE4MDAwMDAwMDAwMDAsInVwZGF0ZSI6MTgwMDAwMDAwMDAwMH19",
"dependencies": [
"data.terraform_remote_state.infrastructure_setup",
"data.terraform_remote_state.privnet_dns_router"
]
}
]
},
{
"mode": "managed",
"type": "openstack_compute_interface_attach_v2",
"name": "main_network_to_harbor",
"provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"fixed_ip": "10.1.42.212",
"id": "1c050a9c-396d-4b9d-881f-1d6b65959fbf/6c2e5afa-c739-4d7b-ad0d-99c4d5128777",
"instance_id": "1c050a9c-396d-4b9d-881f-1d6b65959fbf",
"network_id": "020df98d-ae72-452a-b376-3b6dc289acac",
"port_id": "6c2e5afa-c739-4d7b-ad0d-99c4d5128777",
"region": "isti_area_pi_1",
"timeouts": null
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=",
"dependencies": [
"data.terraform_remote_state.infrastructure_setup",
"data.terraform_remote_state.privnet_dns_router",
"openstack_compute_instance_v2.harbor_server",
"openstack_networking_port_v2.harbor_port_on_main_net",
"openstack_networking_secgroup_v2.harbor_access_list"
]
}
@ -5553,11 +5554,11 @@
{
"schema_version": 0,
"attributes": {
"fixed_ip": "192.168.1.158",
"id": "1c050a9c-396d-4b9d-881f-1d6b65959fbf/4eac6f29-daf4-4e9c-aaf9-22eefd8c8137",
"instance_id": "1c050a9c-396d-4b9d-881f-1d6b65959fbf",
"fixed_ip": "192.168.1.20",
"id": "3cdd44aa-8ae0-4704-a564-b1b0e503a81d/999b830c-554b-4ad3-8b87-c43c5d643a4e",
"instance_id": "3cdd44aa-8ae0-4704-a564-b1b0e503a81d",
"network_id": "f6450bc8-1345-4b52-8f34-2903c0cca7f8",
"port_id": "4eac6f29-daf4-4e9c-aaf9-22eefd8c8137",
"port_id": "999b830c-554b-4ad3-8b87-c43c5d643a4e",
"region": "isti_area_pi_1",
"timeouts": null
},
@ -5567,7 +5568,8 @@
"data.terraform_remote_state.infrastructure_setup",
"data.terraform_remote_state.privnet_dns_router",
"openstack_compute_instance_v2.harbor_server",
"openstack_networking_port_v2.harbor_port_on_the_postgresql_net"
"openstack_networking_port_v2.harbor_port_on_the_postgresql_net",
"openstack_networking_secgroup_v2.harbor_access_list"
]
}
]
@ -5581,15 +5583,15 @@
{
"schema_version": 0,
"attributes": {
"device": "/dev/vdb",
"id": "1c050a9c-396d-4b9d-881f-1d6b65959fbf/e0787855-ee84-42bd-9803-09c11f3e9482",
"instance_id": "1c050a9c-396d-4b9d-881f-1d6b65959fbf",
"device": "/dev/vdc",
"id": "3cdd44aa-8ae0-4704-a564-b1b0e503a81d/0b63589f-cacd-49d5-8569-d33633817df2",
"instance_id": "3cdd44aa-8ae0-4704-a564-b1b0e503a81d",
"multiattach": null,
"region": "isti_area_pi_1",
"tag": null,
"timeouts": null,
"vendor_options": [],
"volume_id": "e0787855-ee84-42bd-9803-09c11f3e9482"
"volume_id": "0b63589f-cacd-49d5-8569-d33633817df2"
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=",
@ -5597,7 +5599,8 @@
"data.terraform_remote_state.infrastructure_setup",
"data.terraform_remote_state.privnet_dns_router",
"openstack_blockstorage_volume_v3.harbor_data_vol",
"openstack_compute_instance_v2.harbor_server"
"openstack_compute_instance_v2.harbor_server",
"openstack_networking_secgroup_v2.harbor_access_list"
]
}
]
@ -5611,15 +5614,15 @@
{
"schema_version": 0,
"attributes": {
"device": "/dev/vdc",
"id": "1c050a9c-396d-4b9d-881f-1d6b65959fbf/419fc418-2db9-4fea-9374-2fc6d3de410b",
"instance_id": "1c050a9c-396d-4b9d-881f-1d6b65959fbf",
"device": "/dev/vdb",
"id": "3cdd44aa-8ae0-4704-a564-b1b0e503a81d/be3e37f4-93a0-4c46-a64a-22f0e858e218",
"instance_id": "3cdd44aa-8ae0-4704-a564-b1b0e503a81d",
"multiattach": null,
"region": "isti_area_pi_1",
"tag": null,
"timeouts": null,
"vendor_options": [],
"volume_id": "419fc418-2db9-4fea-9374-2fc6d3de410b"
"volume_id": "be3e37f4-93a0-4c46-a64a-22f0e858e218"
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=",
@ -5627,7 +5630,8 @@
"data.terraform_remote_state.infrastructure_setup",
"data.terraform_remote_state.privnet_dns_router",
"openstack_blockstorage_volume_v3.harbor_docker_vol",
"openstack_compute_instance_v2.harbor_server"
"openstack_compute_instance_v2.harbor_server",
"openstack_networking_secgroup_v2.harbor_access_list"
]
}
]
@ -5643,11 +5647,11 @@
"attributes": {
"description": "Public IP address of the Harbor Server",
"disable_status_check": false,
"id": "74135b34-1a9c-4c01-8cf0-22450a5660c4/7c75452a-fa8d-4625-a6b1-e75c53161099",
"id": "74135b34-1a9c-4c01-8cf0-22450a5660c4/4f78cac5-1b7d-48e2-9fde-146add0ced3c",
"name": "harbor.cloud.d4science.org.",
"project_id": "1b45adf388934758b56d0dfdb4bfacf3",
"records": [
"146.48.31.28"
"146.48.30.182"
],
"region": "isti_area_pi_1",
"timeouts": null,
@ -5665,33 +5669,6 @@
}
]
},
{
"mode": "managed",
"type": "openstack_networking_floatingip_associate_v2",
"name": "harbor_floatingip_associate",
"provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"fixed_ip": "10.1.42.212",
"floating_ip": "146.48.31.28",
"id": "14c92c0c-0958-4682-a02e-b23d786640ed",
"port_id": "6c2e5afa-c739-4d7b-ad0d-99c4d5128777",
"region": "isti_area_pi_1"
},
"sensitive_attributes": [],
"private": "bnVsbA==",
"dependencies": [
"data.terraform_remote_state.infrastructure_setup",
"data.terraform_remote_state.privnet_dns_router",
"openstack_networking_floatingip_v2.harbor_ip",
"openstack_networking_port_v2.harbor_port_on_main_net",
"openstack_networking_secgroup_v2.harbor_access_list"
]
}
]
},
{
"mode": "managed",
"type": "openstack_networking_floatingip_v2",
@ -5701,19 +5678,19 @@
{
"schema_version": 0,
"attributes": {
"address": "146.48.31.28",
"address": "146.48.30.182",
"all_tags": [],
"description": "Harbor ip",
"dns_domain": "",
"dns_name": "",
"fixed_ip": "10.1.42.212",
"id": "14c92c0c-0958-4682-a02e-b23d786640ed",
"fixed_ip": "",
"id": "1d03892c-8df2-454c-b383-cab929f3cd41",
"pool": "external-network",
"port_id": "6c2e5afa-c739-4d7b-ad0d-99c4d5128777",
"port_id": "",
"region": "isti_area_pi_1",
"subnet_id": null,
"subnet_ids": null,
"tags": [],
"tags": null,
"tenant_id": "1b45adf388934758b56d0dfdb4bfacf3",
"timeouts": null,
"value_specs": null
@ -5726,80 +5703,6 @@
}
]
},
{
"mode": "managed",
"type": "openstack_networking_port_v2",
"name": "harbor_port_on_main_net",
"provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"admin_state_up": true,
"all_fixed_ips": [
"10.1.42.212"
],
"all_security_group_ids": [
"5e57a85e-c1c9-40e5-8e43-46b48867c87b",
"ec201518-ab19-4342-8465-4b5524030a8e"
],
"all_tags": [],
"allowed_address_pairs": [],
"binding": [
{
"host_id": "",
"profile": "",
"vif_details": {},
"vif_type": "",
"vnic_type": "normal"
}
],
"description": "",
"device_id": "",
"device_owner": "",
"dns_assignment": [
{
"fqdn": "host-10-1-42-212.openstacklocal.",
"hostname": "host-10-1-42-212",
"ip_address": "10.1.42.212"
}
],
"dns_name": "",
"extra_dhcp_option": [],
"fixed_ip": [
{
"ip_address": "",
"subnet_id": "5d7b83ad-e058-4a3a-bfd8-d20ba6d42e1a"
}
],
"id": "6c2e5afa-c739-4d7b-ad0d-99c4d5128777",
"mac_address": "fa:16:3e:b0:fc:fa",
"name": "harbor_port_on_main_net",
"network_id": "020df98d-ae72-452a-b376-3b6dc289acac",
"no_fixed_ip": null,
"no_security_groups": null,
"port_security_enabled": true,
"qos_policy_id": "",
"region": "isti_area_pi_1",
"security_group_ids": [
"5e57a85e-c1c9-40e5-8e43-46b48867c87b",
"ec201518-ab19-4342-8465-4b5524030a8e"
],
"tags": [],
"tenant_id": "1b45adf388934758b56d0dfdb4bfacf3",
"timeouts": null,
"value_specs": null
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=",
"dependencies": [
"data.terraform_remote_state.infrastructure_setup",
"data.terraform_remote_state.privnet_dns_router",
"openstack_networking_secgroup_v2.harbor_access_list"
]
}
]
},
{
"mode": "managed",
"type": "openstack_networking_port_v2",
@ -5811,7 +5714,7 @@
"attributes": {
"admin_state_up": true,
"all_fixed_ips": [
"192.168.1.158"
"192.168.1.20"
],
"all_security_group_ids": [
"d41938a9-a581-4974-b213-4aa50498344c"
@ -5832,9 +5735,9 @@
"device_owner": "",
"dns_assignment": [
{
"fqdn": "host-192-168-1-158.openstacklocal.",
"hostname": "host-192-168-1-158",
"ip_address": "192.168.1.158"
"fqdn": "host-192-168-1-20.openstacklocal.",
"hostname": "host-192-168-1-20",
"ip_address": "192.168.1.20"
}
],
"dns_name": "",
@ -5845,8 +5748,8 @@
"subnet_id": "761c3c40-5963-40df-a677-cd9b51b72b4d"
}
],
"id": "4eac6f29-daf4-4e9c-aaf9-22eefd8c8137",
"mac_address": "fa:16:3e:b9:cb:47",
"id": "999b830c-554b-4ad3-8b87-c43c5d643a4e",
"mac_address": "fa:16:3e:bf:e4:67",
"name": "harbor_port_on_main_net",
"network_id": "f6450bc8-1345-4b52-8f34-2903c0cca7f8",
"no_fixed_ip": null,
@ -5855,7 +5758,7 @@
"qos_policy_id": "",
"region": "isti_area_pi_1",
"security_group_ids": null,
"tags": [],
"tags": null,
"tenant_id": "1b45adf388934758b56d0dfdb4bfacf3",
"timeouts": null,
"value_specs": null
@ -5880,14 +5783,14 @@
"description": "HTTP access to the Harbor Server",
"direction": "ingress",
"ethertype": "IPv4",
"id": "87d451f3-0de6-4869-b2eb-9ac919d6d989",
"id": "a596fbde-9002-4204-a9fa-11654acfa4d7",
"port_range_max": 80,
"port_range_min": 80,
"protocol": "tcp",
"region": "isti_area_pi_1",
"remote_group_id": "",
"remote_ip_prefix": "0.0.0.0/0",
"security_group_id": "5e57a85e-c1c9-40e5-8e43-46b48867c87b",
"security_group_id": "c1405cad-ef70-4698-93d6-f858b6375cd3",
"tenant_id": "1b45adf388934758b56d0dfdb4bfacf3",
"timeouts": null
},
@ -5911,14 +5814,14 @@
"description": "HTTPS access to the Harbor Server",
"direction": "ingress",
"ethertype": "IPv4",
"id": "95274499-5680-47e8-9a6a-5216243f40fa",
"id": "3e64d03c-5ab9-4bfb-a54f-71045f7ec311",
"port_range_max": 443,
"port_range_min": 443,
"protocol": "tcp",
"region": "isti_area_pi_1",
"remote_group_id": "",
"remote_ip_prefix": "0.0.0.0/0",
"security_group_id": "5e57a85e-c1c9-40e5-8e43-46b48867c87b",
"security_group_id": "c1405cad-ef70-4698-93d6-f858b6375cd3",
"tenant_id": "1b45adf388934758b56d0dfdb4bfacf3",
"timeouts": null
},
@ -5942,10 +5845,10 @@
"all_tags": [],
"delete_default_rules": true,
"description": "Allowed connections to the harbor server",
"id": "5e57a85e-c1c9-40e5-8e43-46b48867c87b",
"id": "c1405cad-ef70-4698-93d6-f858b6375cd3",
"name": "harbor_access_list",
"region": "isti_area_pi_1",
"tags": [],
"tags": null,
"tenant_id": "1b45adf388934758b56d0dfdb4bfacf3",
"timeouts": null
},