dnet-scilake resources.

This commit is contained in:
Andrea Dell'Amico 2024-04-20 21:48:08 +02:00
parent f1e3fb26ee
commit d253ca51ee
Signed by: andrea.dellamico
GPG Key ID: 147ABE6CEB9E20FF
4 changed files with 946 additions and 0 deletions

View File

@ -0,0 +1,112 @@
# Define required providers
terraform {
required_version = ">= 0.14.0"
required_providers {
openstack = {
source = "terraform-provider-openstack/openstack"
# version = "~> 1.53.0"
}
}
}
data "terraform_remote_state" "privnet_dns_router" {
backend = "local"
config = {
path = "../project-setup/terraform.tfstate"
}
}
# SSH settings
module "ssh_settings" {
source = "../../modules/ssh-key-ref"
}
# Global variables (constants, really)
module "common_variables" {
source = "../../modules/garr_common_variables"
}
# SCILake server. All in one, everything docker
resource "openstack_blockstorage_volume_v3" "postgresql_data_vol" {
name = "Scilake catalogue postgresql data"
size = 5
}
resource "openstack_blockstorage_volume_v3" "mongodb_data_vol" {
name = "Scilake catalogue mongodb data"
size = 5
}
resource "openstack_blockstorage_volume_v3" "elasticsearch_data_vol" {
name = "Scilake catalogue elasticsearch data"
size = 5
}
resource "openstack_networking_port_v2" "scilake_ip_in_main_net" {
name = "scilake_main"
admin_state_up = "true"
network_id = data.terraform_remote_state.privnet_dns_router.outputs.main_private_network.id
security_group_ids = [
data.terraform_remote_state.privnet_dns_router.outputs.default_security_group.id,
]
}
resource "openstack_compute_instance_v2" "scilake_intelcomp_server" {
name = "SCILake intelcomp server"
availability_zone_hints = "nova"
flavor_name = "m1.xxl"
key_pair = module.ssh_settings.ssh_key_name
block_device {
uuid = module.common_variables.ubuntu_2204.uuid
source_type = "image"
volume_size = 10
boot_index = 0
destination_type = "volume"
delete_on_termination = true
}
network {
port = openstack_networking_port_v2.scilake_ip_in_main_net.id
}
user_data = file("${module.common_variables.ubuntu2204_data_file}")
# Do not replace the instance when the ssh key changes
lifecycle {
ignore_changes = [
# Ignore changes to tags, e.g. because a management agent
# updates these based on some ruleset managed elsewhere.
key_pair, user_data, network
]
}
}
resource "openstack_compute_volume_attach_v2" "postgresql_data_attach_vol" {
instance_id = openstack_compute_instance_v2.scilake_intelcomp_server.id
volume_id = openstack_blockstorage_volume_v3.postgresql_data_vol.id
device = "/dev/vdb"
}
resource "openstack_compute_volume_attach_v2" "mongodb_data_attach_vol" {
instance_id = openstack_compute_instance_v2.scilake_intelcomp_server.id
volume_id = openstack_blockstorage_volume_v3.mongodb_data_vol.id
device = "/dev/vdc"
}
resource "openstack_compute_volume_attach_v2" "elasticsearch_data_attach_vol" {
instance_id = openstack_compute_instance_v2.scilake_intelcomp_server.id
volume_id = openstack_blockstorage_volume_v3.elasticsearch_data_vol.id
device = "/dev/vdd"
}
#
resource "openstack_networking_floatingip_v2" "scilake_catalogue_server_ip" {
pool = data.terraform_remote_state.privnet_dns_router.outputs.external_network.name
description = "SCIlake Catalogue"
}
resource "openstack_networking_floatingip_associate_v2" "scilake_catalogue_server" {
floating_ip = openstack_networking_floatingip_v2.scilake_catalogue_server_ip.address
port_id = openstack_networking_port_v2.scilake_ip_in_main_net.id
}

View File

@ -0,0 +1,8 @@
output "scilake_instance" {
value = openstack_compute_instance_v2.scilake_intelcomp_server
sensitive = true
}
output "scilake_floating_ip" {
value = openstack_networking_floatingip_v2.scilake_catalogue_server_ip
}

View File

@ -0,0 +1,4 @@
provider "openstack" {
cloud = "garr-ct1"
}

View File

@ -0,0 +1,822 @@
{
"version": 4,
"terraform_version": "1.7.5",
"serial": 43,
"lineage": "6c778726-5dc6-47e2-aa9f-12d30f5345ff",
"outputs": {
"scilake_floating_ip": {
"value": {
"address": "90.147.184.15",
"all_tags": [],
"description": "SCIlake Catalogue",
"dns_domain": "",
"dns_name": "",
"fixed_ip": "192.168.100.104",
"id": "9832fef7-37f8-421f-bbd0-835c802852c4",
"pool": "floating-ip",
"port_id": "4979412a-f60a-4e3e-ac10-dc1bf118323c",
"region": "garr-ct1",
"subnet_id": null,
"subnet_ids": null,
"tags": [],
"tenant_id": "a2de533851354b1f8d99ac6b6216d92e",
"timeouts": null,
"value_specs": null
},
"type": [
"object",
{
"address": "string",
"all_tags": [
"set",
"string"
],
"description": "string",
"dns_domain": "string",
"dns_name": "string",
"fixed_ip": "string",
"id": "string",
"pool": "string",
"port_id": "string",
"region": "string",
"subnet_id": "string",
"subnet_ids": [
"list",
"string"
],
"tags": [
"set",
"string"
],
"tenant_id": "string",
"timeouts": [
"object",
{
"create": "string",
"delete": "string"
}
],
"value_specs": [
"map",
"string"
]
}
]
},
"scilake_instance": {
"value": {
"access_ip_v4": "192.168.100.104",
"access_ip_v6": "",
"admin_pass": null,
"all_metadata": {},
"all_tags": [],
"availability_zone": "nova",
"availability_zone_hints": "nova",
"block_device": [
{
"boot_index": 0,
"delete_on_termination": true,
"destination_type": "volume",
"device_type": "",
"disk_bus": "",
"guest_format": "",
"multiattach": false,
"source_type": "image",
"uuid": "09d879ad-70ee-4f05-9fd8-ffb7b76e2d1b",
"volume_size": 10,
"volume_type": ""
}
],
"config_drive": null,
"created": "2024-04-20 19:27:30 +0000 UTC",
"flavor_id": "04a3f9ec-daf3-46ea-a6a4-8d5553b701f7",
"flavor_name": "m1.xxl",
"floating_ip": null,
"force_delete": false,
"id": "37868eb3-aa56-4bfe-8823-14001f4151e6",
"image_id": "Attempt to boot from volume - no image supplied",
"image_name": null,
"key_pair": "adellam",
"metadata": null,
"name": "SCILake intelcomp server",
"network": [
{
"access_network": false,
"fixed_ip_v4": "192.168.100.104",
"fixed_ip_v6": "",
"floating_ip": "",
"mac": "fa:16:3e:c2:1f:a0",
"name": "isti-VM-CT1-net",
"port": "4979412a-f60a-4e3e-ac10-dc1bf118323c",
"uuid": "310d65b2-fc5b-4079-b5c2-eb286fbde757"
}
],
"network_mode": null,
"personality": [],
"power_state": "active",
"region": "garr-ct1",
"scheduler_hints": [],
"security_groups": [
"default"
],
"stop_before_destroy": false,
"tags": [],
"timeouts": null,
"updated": "2024-04-20 19:28:34 +0000 UTC",
"user_data": "bb83b25fd1219aa1b850ece9be8d7b0f31714608",
"vendor_options": [],
"volume": []
},
"type": [
"object",
{
"access_ip_v4": "string",
"access_ip_v6": "string",
"admin_pass": "string",
"all_metadata": [
"map",
"string"
],
"all_tags": [
"set",
"string"
],
"availability_zone": "string",
"availability_zone_hints": "string",
"block_device": [
"list",
[
"object",
{
"boot_index": "number",
"delete_on_termination": "bool",
"destination_type": "string",
"device_type": "string",
"disk_bus": "string",
"guest_format": "string",
"multiattach": "bool",
"source_type": "string",
"uuid": "string",
"volume_size": "number",
"volume_type": "string"
}
]
],
"config_drive": "bool",
"created": "string",
"flavor_id": "string",
"flavor_name": "string",
"floating_ip": "string",
"force_delete": "bool",
"id": "string",
"image_id": "string",
"image_name": "string",
"key_pair": "string",
"metadata": [
"map",
"string"
],
"name": "string",
"network": [
"list",
[
"object",
{
"access_network": "bool",
"fixed_ip_v4": "string",
"fixed_ip_v6": "string",
"floating_ip": "string",
"mac": "string",
"name": "string",
"port": "string",
"uuid": "string"
}
]
],
"network_mode": "string",
"personality": [
"set",
[
"object",
{
"content": "string",
"file": "string"
}
]
],
"power_state": "string",
"region": "string",
"scheduler_hints": [
"set",
[
"object",
{
"additional_properties": [
"map",
"string"
],
"build_near_host_ip": "string",
"different_cell": [
"list",
"string"
],
"different_host": [
"list",
"string"
],
"group": "string",
"query": [
"list",
"string"
],
"same_host": [
"list",
"string"
],
"target_cell": "string"
}
]
],
"security_groups": [
"set",
"string"
],
"stop_before_destroy": "bool",
"tags": [
"set",
"string"
],
"timeouts": [
"object",
{
"create": "string",
"delete": "string",
"update": "string"
}
],
"updated": "string",
"user_data": "string",
"vendor_options": [
"set",
[
"object",
{
"detach_ports_before_destroy": "bool",
"ignore_resize_confirmation": "bool"
}
]
],
"volume": [
"set",
[
"object",
{
"device": "string",
"id": "string",
"volume_id": "string"
}
]
]
}
],
"sensitive": true
}
},
"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": {
"default_security_group": {
"id": "c7499f6c-147c-4b61-9a29-1a6ca4a85a98",
"name": "default"
},
"external_network": {
"id": "bf588091-e239-4fc8-8d35-eee2bd7d3cb0",
"name": "floating-ip"
},
"external_router": {
"description": "GARR-CT1 main router",
"name": "isti-router"
},
"jump_proxy_ssh_shell": {
"hostname": "shell.garr-ct1.d4science.net",
"private_ip": "192.168.100.4"
},
"main_private_network": {
"description": "GARR CT1 main network",
"id": "310d65b2-fc5b-4079-b5c2-eb286fbde757",
"name": "isti-VM-CT1-net"
},
"main_private_subnet": {
"allocation_end": "192.168.100.253",
"allocation_start": "192.168.100.2",
"cidr": "192.168.100.0/24",
"description": "GARR-CT1 main subnet",
"gateway_ip": "192.168.100.1",
"id": "780bcac9-3835-436c-901a-339e38e7345f",
"name": "isti-VM-subnet"
},
"mtu_size": 9000,
"os_project_data": {
"id": "a2de533851354b1f8d99ac6b6216d92e"
},
"os_region_data": {
"name": "garr-ct1"
},
"prometheus_host": {
"hostname": "ip-90-147-166-113.ct1.garrservices.it",
"private_ip": "192.168.100.15"
},
"resolvers_ip": [
"193.206.141.38",
"193.206.141.42"
]
},
"type": [
"object",
{
"default_security_group": [
"map",
"string"
],
"external_network": [
"map",
"string"
],
"external_router": [
"map",
"string"
],
"jump_proxy_ssh_shell": [
"map",
"string"
],
"main_private_network": [
"map",
"string"
],
"main_private_subnet": [
"map",
"string"
],
"mtu_size": "number",
"os_project_data": [
"map",
"string"
],
"os_region_data": [
"map",
"string"
],
"prometheus_host": [
"map",
"string"
],
"resolvers_ip": [
"list",
"string"
]
}
]
},
"workspace": null
},
"sensitive_attributes": []
}
]
},
{
"mode": "managed",
"type": "openstack_blockstorage_volume_v3",
"name": "elasticsearch_data_vol",
"provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"attachment": [
{
"device": "/dev/vdd",
"id": "0d23a62c-15d6-4ab7-aab1-5bdc1c9d2c66",
"instance_id": "37868eb3-aa56-4bfe-8823-14001f4151e6"
}
],
"availability_zone": "nova",
"backup_id": "",
"consistency_group_id": null,
"description": "",
"enable_online_resize": null,
"id": "0d23a62c-15d6-4ab7-aab1-5bdc1c9d2c66",
"image_id": null,
"metadata": {},
"multiattach": null,
"name": "Scilake catalogue elasticsearch data",
"region": "garr-ct1",
"scheduler_hints": [],
"size": 5,
"snapshot_id": "",
"source_replica": null,
"source_vol_id": "",
"timeouts": null,
"volume_type": "__DEFAULT__"
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0="
}
]
},
{
"mode": "managed",
"type": "openstack_blockstorage_volume_v3",
"name": "mongodb_data_vol",
"provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"attachment": [
{
"device": "/dev/vdc",
"id": "5cda33a5-85c0-4211-b1f7-26b0baff18e3",
"instance_id": "37868eb3-aa56-4bfe-8823-14001f4151e6"
}
],
"availability_zone": "nova",
"backup_id": "",
"consistency_group_id": null,
"description": "",
"enable_online_resize": null,
"id": "5cda33a5-85c0-4211-b1f7-26b0baff18e3",
"image_id": null,
"metadata": {},
"multiattach": null,
"name": "Scilake catalogue mongodb data",
"region": "garr-ct1",
"scheduler_hints": [],
"size": 5,
"snapshot_id": "",
"source_replica": null,
"source_vol_id": "",
"timeouts": null,
"volume_type": "__DEFAULT__"
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0="
}
]
},
{
"mode": "managed",
"type": "openstack_blockstorage_volume_v3",
"name": "postgresql_data_vol",
"provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"attachment": [
{
"device": "/dev/vdb",
"id": "5a4888df-5e16-49ac-bc84-28e811474659",
"instance_id": "37868eb3-aa56-4bfe-8823-14001f4151e6"
}
],
"availability_zone": "nova",
"backup_id": "",
"consistency_group_id": null,
"description": "",
"enable_online_resize": null,
"id": "5a4888df-5e16-49ac-bc84-28e811474659",
"image_id": null,
"metadata": {},
"multiattach": null,
"name": "Scilake catalogue postgresql data",
"region": "garr-ct1",
"scheduler_hints": [],
"size": 5,
"snapshot_id": "",
"source_replica": null,
"source_vol_id": "",
"timeouts": null,
"volume_type": "__DEFAULT__"
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0="
}
]
},
{
"mode": "managed",
"type": "openstack_compute_instance_v2",
"name": "scilake_intelcomp_server",
"provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"access_ip_v4": "192.168.100.104",
"access_ip_v6": "",
"admin_pass": null,
"all_metadata": {},
"all_tags": [],
"availability_zone": "nova",
"availability_zone_hints": "nova",
"block_device": [
{
"boot_index": 0,
"delete_on_termination": true,
"destination_type": "volume",
"device_type": "",
"disk_bus": "",
"guest_format": "",
"multiattach": false,
"source_type": "image",
"uuid": "09d879ad-70ee-4f05-9fd8-ffb7b76e2d1b",
"volume_size": 10,
"volume_type": ""
}
],
"config_drive": null,
"created": "2024-04-20 19:27:30 +0000 UTC",
"flavor_id": "04a3f9ec-daf3-46ea-a6a4-8d5553b701f7",
"flavor_name": "m1.xxl",
"floating_ip": null,
"force_delete": false,
"id": "37868eb3-aa56-4bfe-8823-14001f4151e6",
"image_id": "Attempt to boot from volume - no image supplied",
"image_name": null,
"key_pair": "adellam",
"metadata": null,
"name": "SCILake intelcomp server",
"network": [
{
"access_network": false,
"fixed_ip_v4": "192.168.100.104",
"fixed_ip_v6": "",
"floating_ip": "",
"mac": "fa:16:3e:c2:1f:a0",
"name": "isti-VM-CT1-net",
"port": "4979412a-f60a-4e3e-ac10-dc1bf118323c",
"uuid": "310d65b2-fc5b-4079-b5c2-eb286fbde757"
}
],
"network_mode": null,
"personality": [],
"power_state": "active",
"region": "garr-ct1",
"scheduler_hints": [],
"security_groups": [
"default"
],
"stop_before_destroy": false,
"tags": [],
"timeouts": null,
"updated": "2024-04-20 19:28:34 +0000 UTC",
"user_data": "bb83b25fd1219aa1b850ece9be8d7b0f31714608",
"vendor_options": [],
"volume": []
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxODAwMDAwMDAwMDAwLCJkZWxldGUiOjE4MDAwMDAwMDAwMDAsInVwZGF0ZSI6MTgwMDAwMDAwMDAwMH19",
"dependencies": [
"data.terraform_remote_state.privnet_dns_router",
"openstack_networking_port_v2.scilake_ip_in_main_net"
]
}
]
},
{
"mode": "managed",
"type": "openstack_compute_volume_attach_v2",
"name": "elasticsearch_data_attach_vol",
"provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"device": "/dev/vdd",
"id": "37868eb3-aa56-4bfe-8823-14001f4151e6/0d23a62c-15d6-4ab7-aab1-5bdc1c9d2c66",
"instance_id": "37868eb3-aa56-4bfe-8823-14001f4151e6",
"multiattach": null,
"region": "garr-ct1",
"timeouts": null,
"vendor_options": [],
"volume_id": "0d23a62c-15d6-4ab7-aab1-5bdc1c9d2c66"
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=",
"dependencies": [
"data.terraform_remote_state.privnet_dns_router",
"openstack_blockstorage_volume_v3.elasticsearch_data_vol",
"openstack_compute_instance_v2.scilake_intelcomp_server",
"openstack_networking_port_v2.scilake_ip_in_main_net"
]
}
]
},
{
"mode": "managed",
"type": "openstack_compute_volume_attach_v2",
"name": "mongodb_data_attach_vol",
"provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"device": "/dev/vdc",
"id": "37868eb3-aa56-4bfe-8823-14001f4151e6/5cda33a5-85c0-4211-b1f7-26b0baff18e3",
"instance_id": "37868eb3-aa56-4bfe-8823-14001f4151e6",
"multiattach": null,
"region": "garr-ct1",
"timeouts": null,
"vendor_options": [],
"volume_id": "5cda33a5-85c0-4211-b1f7-26b0baff18e3"
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=",
"dependencies": [
"data.terraform_remote_state.privnet_dns_router",
"openstack_blockstorage_volume_v3.mongodb_data_vol",
"openstack_compute_instance_v2.scilake_intelcomp_server",
"openstack_networking_port_v2.scilake_ip_in_main_net"
]
}
]
},
{
"mode": "managed",
"type": "openstack_compute_volume_attach_v2",
"name": "postgresql_data_attach_vol",
"provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"device": "/dev/vdb",
"id": "37868eb3-aa56-4bfe-8823-14001f4151e6/5a4888df-5e16-49ac-bc84-28e811474659",
"instance_id": "37868eb3-aa56-4bfe-8823-14001f4151e6",
"multiattach": null,
"region": "garr-ct1",
"timeouts": null,
"vendor_options": [],
"volume_id": "5a4888df-5e16-49ac-bc84-28e811474659"
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=",
"dependencies": [
"data.terraform_remote_state.privnet_dns_router",
"openstack_blockstorage_volume_v3.postgresql_data_vol",
"openstack_compute_instance_v2.scilake_intelcomp_server",
"openstack_networking_port_v2.scilake_ip_in_main_net"
]
}
]
},
{
"mode": "managed",
"type": "openstack_networking_floatingip_associate_v2",
"name": "scilake_catalogue_server",
"provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"fixed_ip": "192.168.100.104",
"floating_ip": "90.147.184.15",
"id": "9832fef7-37f8-421f-bbd0-835c802852c4",
"port_id": "4979412a-f60a-4e3e-ac10-dc1bf118323c",
"region": "garr-ct1"
},
"sensitive_attributes": [],
"private": "bnVsbA==",
"dependencies": [
"data.terraform_remote_state.privnet_dns_router",
"openstack_networking_floatingip_v2.scilake_catalogue_server_ip",
"openstack_networking_port_v2.scilake_ip_in_main_net"
]
}
]
},
{
"mode": "managed",
"type": "openstack_networking_floatingip_v2",
"name": "scilake_catalogue_server_ip",
"provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"address": "90.147.184.15",
"all_tags": [],
"description": "SCIlake Catalogue",
"dns_domain": "",
"dns_name": "",
"fixed_ip": "192.168.100.104",
"id": "9832fef7-37f8-421f-bbd0-835c802852c4",
"pool": "floating-ip",
"port_id": "4979412a-f60a-4e3e-ac10-dc1bf118323c",
"region": "garr-ct1",
"subnet_id": null,
"subnet_ids": null,
"tags": [],
"tenant_id": "a2de533851354b1f8d99ac6b6216d92e",
"timeouts": null,
"value_specs": null
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=",
"dependencies": [
"data.terraform_remote_state.privnet_dns_router"
]
}
]
},
{
"mode": "managed",
"type": "openstack_networking_port_v2",
"name": "scilake_ip_in_main_net",
"provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"admin_state_up": true,
"all_fixed_ips": [
"192.168.100.104"
],
"all_security_group_ids": [
"c7499f6c-147c-4b61-9a29-1a6ca4a85a98"
],
"all_tags": [],
"allowed_address_pairs": [],
"binding": [
{
"host_id": "",
"profile": "",
"vif_details": {},
"vif_type": "",
"vnic_type": "normal"
}
],
"description": "",
"device_id": "37868eb3-aa56-4bfe-8823-14001f4151e6",
"device_owner": "compute:nova",
"dns_assignment": [
{
"fqdn": "scilake-intelcomp-server.garr.cloud.ct.",
"hostname": "scilake-intelcomp-server",
"ip_address": "192.168.100.104"
}
],
"dns_name": "scilake-intelcomp-server",
"extra_dhcp_option": [],
"fixed_ip": [],
"id": "4979412a-f60a-4e3e-ac10-dc1bf118323c",
"mac_address": "fa:16:3e:c2:1f:a0",
"name": "scilake_main",
"network_id": "310d65b2-fc5b-4079-b5c2-eb286fbde757",
"no_fixed_ip": null,
"no_security_groups": null,
"port_security_enabled": true,
"qos_policy_id": "",
"region": "garr-ct1",
"security_group_ids": [
"c7499f6c-147c-4b61-9a29-1a6ca4a85a98"
],
"tags": [],
"tenant_id": "a2de533851354b1f8d99ac6b6216d92e",
"timeouts": null,
"value_specs": null
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=",
"dependencies": [
"data.terraform_remote_state.privnet_dns_router"
]
}
]
}
],
"check_results": null
}