Commit the state.

This commit is contained in:
Andrea Dell'Amico 2023-11-09 20:16:59 +01:00
parent e263dbb32f
commit 437de33c4f
Signed by untrusted user: andrea.dellamico
GPG Key ID: 147ABE6CEB9E20FF
5 changed files with 9238 additions and 1 deletions

2
.gitignore vendored
View File

@ -3,7 +3,7 @@
**/.terraform/*
# .tfstate files
*.tfstate
# *.tfstate
*.tfstate.*
# Crash log files

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,154 @@
{
"version": 4,
"terraform_version": "1.6.3",
"serial": 28,
"lineage": "6d43430c-e6aa-d370-b6d5-22f2281117df",
"outputs": {},
"resources": [
{
"mode": "managed",
"type": "openstack_dns_zone_v2",
"name": "primary_project_dns_zone",
"provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"attributes": null,
"description": "DNS primary zone for the d4s-pre-cloud project",
"disable_status_check": false,
"email": "postmaster@isti.cnr.it",
"id": "c1a4b4bc-f167-4387-855d-38f0f99ca05c",
"masters": null,
"name": "cloud-pre.d4science.org.",
"project_id": "6fdc02e2827b405dad99f34698659742",
"region": "isti_area_pi_1",
"timeouts": null,
"ttl": 8600,
"type": "PRIMARY",
"value_specs": null
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwLCJ1cGRhdGUiOjYwMDAwMDAwMDAwMH19"
}
]
},
{
"mode": "managed",
"type": "openstack_networking_network_v2",
"name": "main-private-network",
"provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"admin_state_up": true,
"all_tags": [],
"availability_zone_hints": [],
"description": "D4Science Preprod private network (use this as the main network)",
"dns_domain": "cloud-pre.d4science.org.",
"external": false,
"id": "23fd8a99-d551-4ada-8d3a-9859542ebb8c",
"mtu": 8942,
"name": "d4s-pre-cloud-main",
"port_security_enabled": true,
"qos_policy_id": "",
"region": "isti_area_pi_1",
"segments": [],
"shared": false,
"tags": [],
"tenant_id": "6fdc02e2827b405dad99f34698659742",
"timeouts": null,
"transparent_vlan": false,
"value_specs": null
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0="
}
]
},
{
"mode": "managed",
"type": "openstack_networking_router_interface_v2",
"name": "private-network-routing",
"provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"force_destroy": false,
"id": "121e1304-c4c9-4bae-a32b-e07f8b982559",
"port_id": "121e1304-c4c9-4bae-a32b-e07f8b982559",
"region": "isti_area_pi_1",
"router_id": "cc26064a-bb08-4c0b-929f-d0cb39f934a3",
"subnet_id": "cd77a2fd-4a36-4254-b1d0-70b3874c6d04",
"timeouts": null
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=",
"dependencies": [
"openstack_networking_network_v2.main-private-network",
"openstack_networking_subnet_v2.main-private-subnet"
]
}
]
},
{
"mode": "managed",
"type": "openstack_networking_subnet_v2",
"name": "main-private-subnet",
"provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"all_tags": [],
"allocation_pool": [
{
"end": "10.1.35.254",
"start": "10.1.32.100"
}
],
"allocation_pools": [
{
"end": "10.1.35.254",
"start": "10.1.32.100"
}
],
"cidr": "10.1.32.0/22",
"description": "D4Science Preprod main private subnet",
"dns_nameservers": [
"146.48.29.97",
"146.48.29.98",
"146.48.29.99"
],
"enable_dhcp": true,
"gateway_ip": "10.1.32.1",
"host_routes": [],
"id": "cd77a2fd-4a36-4254-b1d0-70b3874c6d04",
"ip_version": 4,
"ipv6_address_mode": "",
"ipv6_ra_mode": "",
"name": "d4s-pre-cloud-main-subnet",
"network_id": "23fd8a99-d551-4ada-8d3a-9859542ebb8c",
"no_gateway": false,
"prefix_length": null,
"region": "isti_area_pi_1",
"service_types": [],
"subnetpool_id": "",
"tags": [],
"tenant_id": "6fdc02e2827b405dad99f34698659742",
"timeouts": null,
"value_specs": null
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=",
"dependencies": [
"openstack_networking_network_v2.main-private-network"
]
}
]
}
],
"check_results": null
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,220 @@
{
"version": 4,
"terraform_version": "1.6.3",
"serial": 9,
"lineage": "6d54ddff-c4ea-b8c7-3b92-53ed6c62db24",
"outputs": {
"dns_zone_id": {
"value": "74135b34-1a9c-4c01-8cf0-22450a5660c4",
"type": "string"
},
"external_gateway_ip": {
"value": "146.48.31.57",
"type": "string"
},
"main_private_network_id": {
"value": "020df98d-ae72-452a-b376-3b6dc289acac",
"type": "string"
},
"main_subnet_network_id": {
"value": "5d7b83ad-e058-4a3a-bfd8-d20ba6d42e1a",
"type": "string"
}
},
"resources": [
{
"mode": "managed",
"type": "openstack_dns_zone_v2",
"name": "primary_project_dns_zone",
"provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"attributes": {},
"description": "DNS primary zone for the d4s-production-cloud project",
"disable_status_check": false,
"email": "postmaster@isti.cnr.it",
"id": "74135b34-1a9c-4c01-8cf0-22450a5660c4",
"masters": [],
"name": "cloud.d4science.org.",
"project_id": "1b45adf388934758b56d0dfdb4bfacf3",
"region": "isti_area_pi_1",
"timeouts": null,
"ttl": 8600,
"type": "PRIMARY",
"value_specs": null
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwLCJ1cGRhdGUiOjYwMDAwMDAwMDAwMH19"
}
]
},
{
"mode": "managed",
"type": "openstack_networking_network_v2",
"name": "main-private-network",
"provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"admin_state_up": true,
"all_tags": [],
"availability_zone_hints": [],
"description": "D4Science Production private network (use this as the main network)",
"dns_domain": "cloud.d4science.org.",
"external": false,
"id": "020df98d-ae72-452a-b376-3b6dc289acac",
"mtu": 8942,
"name": "d4s-production-cloud-main",
"port_security_enabled": true,
"qos_policy_id": "",
"region": "isti_area_pi_1",
"segments": [
{
"network_type": "geneve",
"physical_network": "",
"segmentation_id": 9704
}
],
"shared": false,
"tags": [],
"tenant_id": "1b45adf388934758b56d0dfdb4bfacf3",
"timeouts": null,
"transparent_vlan": false,
"value_specs": null
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0="
}
]
},
{
"mode": "managed",
"type": "openstack_networking_router_interface_v2",
"name": "private-network-routing",
"provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"force_destroy": false,
"id": "2e4fe844-487c-4e79-91ed-537ae381e007",
"port_id": "2e4fe844-487c-4e79-91ed-537ae381e007",
"region": "isti_area_pi_1",
"router_id": "3ba3c700-bc27-40b7-8306-8c68eaec5595",
"subnet_id": "5d7b83ad-e058-4a3a-bfd8-d20ba6d42e1a",
"timeouts": null
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=",
"dependencies": [
"openstack_networking_network_v2.main-private-network",
"openstack_networking_router_v2.external-router",
"openstack_networking_subnet_v2.main-private-subnet"
]
}
]
},
{
"mode": "managed",
"type": "openstack_networking_router_v2",
"name": "external-router",
"provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"admin_state_up": true,
"all_tags": [],
"availability_zone_hints": [],
"description": "D4Science Production main router",
"distributed": false,
"enable_snat": true,
"external_fixed_ip": [
{
"ip_address": "146.48.31.57",
"subnet_id": "57f87509-4016-46fb-b8c3-25fca7f72ccb"
}
],
"external_gateway": "1d2ff137-6ff7-4017-be2b-0d6c4af2353b",
"external_network_id": "1d2ff137-6ff7-4017-be2b-0d6c4af2353b",
"external_subnet_ids": null,
"id": "3ba3c700-bc27-40b7-8306-8c68eaec5595",
"name": "d4s-production-cloud-external-router",
"region": "isti_area_pi_1",
"tags": [],
"tenant_id": "1b45adf388934758b56d0dfdb4bfacf3",
"timeouts": null,
"value_specs": null,
"vendor_options": [
{
"set_router_gateway_after_create": true
}
]
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0="
}
]
},
{
"mode": "managed",
"type": "openstack_networking_subnet_v2",
"name": "main-private-subnet",
"provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"all_tags": [],
"allocation_pool": [
{
"end": "10.1.47.254",
"start": "10.1.41.100"
}
],
"allocation_pools": [
{
"end": "10.1.47.254",
"start": "10.1.41.100"
}
],
"cidr": "10.1.40.0/21",
"description": "D4Science Production main private subnet",
"dns_nameservers": [
"146.48.29.97",
"146.48.29.98",
"146.48.29.99"
],
"enable_dhcp": true,
"gateway_ip": "10.1.40.1",
"host_routes": [],
"id": "5d7b83ad-e058-4a3a-bfd8-d20ba6d42e1a",
"ip_version": 4,
"ipv6_address_mode": "",
"ipv6_ra_mode": "",
"name": "d4s-production-cloud-main-subnet",
"network_id": "020df98d-ae72-452a-b376-3b6dc289acac",
"no_gateway": false,
"prefix_length": null,
"region": "isti_area_pi_1",
"service_types": [],
"subnetpool_id": "",
"tags": [],
"tenant_id": "1b45adf388934758b56d0dfdb4bfacf3",
"timeouts": null,
"value_specs": null
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=",
"dependencies": [
"openstack_networking_network_v2.main-private-network"
]
}
]
}
],
"check_results": null
}