Add more data to the garr-ct1 setup.

This commit is contained in:
Andrea Dell'Amico 2024-04-20 15:45:21 +02:00
parent aafde5a308
commit 0e8f6d3653
Signed by: andrea.dellamico
GPG Key ID: 147ABE6CEB9E20FF
3 changed files with 47 additions and 3 deletions

View File

@ -32,4 +32,12 @@ output "external_router" {
output "external_network" {
value = var.external_network
}
}
output "jump_proxy_ssh_shell" {
value = var.jump_proxy_ssh_shell
}
output "prometheus_host" {
value = var.prometheus_host
}

View File

@ -1,7 +1,7 @@
{
"version": 4,
"terraform_version": "1.7.5",
"serial": 9,
"serial": 10,
"lineage": "fbd4cad6-e66b-bb4c-d3e4-6440732201b7",
"outputs": {
"default_security_group_name": {
@ -28,6 +28,16 @@
"string"
]
},
"jump_proxy_ssh_shell": {
"value": {
"hostname": "shell.garr-ct1.d4science.net",
"private_ip": "192.168.100.4"
},
"type": [
"map",
"string"
]
},
"main_private_network": {
"value": {
"description": "GARR CT1 main network",
@ -74,6 +84,16 @@
"string"
]
},
"prometheus_host": {
"value": {
"hostname": "ip-90-147-166-113.ct1.garrservices.it",
"private_ip": "192.168.100.15"
},
"type": [
"map",
"string"
]
},
"resolvers_ip": {
"value": [
"193.206.141.38",

View File

@ -60,4 +60,20 @@ variable "external_network" {
name = "floating-ip"
id = "bf588091-e239-4fc8-8d35-eee2bd7d3cb0"
}
}
}
variable "jump_proxy_ssh_shell" {
type = map(string)
default = {
hostname = "shell.garr-ct1.d4science.net"
private_ip = "192.168.100.4"
}
}
variable "prometheus_host" {
type = map(string)
default = {
hostname = "ip-90-147-166-113.ct1.garrservices.it"
private_ip = "192.168.100.15"
}
}