macchina harbor correttamente creata con anche record dns

This commit is contained in:
Marco Procaccini 2024-07-09 19:58:21 +02:00
parent 747950287b
commit 7b8e09796d
2 changed files with 2 additions and 3 deletions

View File

@ -172,7 +172,7 @@ resource "openstack_compute_interface_attach_v2" "postgresql_network_to_harbor"
port_id = openstack_networking_port_v2.harbor_port_on_the_postgresql_net.id
}
/**
locals {
harbor_recordset_name = "harbor.${data.terraform_remote_state.privnet_dns_router.outputs.dns_zone.zone_name}"
}
@ -193,4 +193,3 @@ output "harbor_public_ip_address" {
output "harbor_hostname" {
value = openstack_dns_recordset_v2.harbor_recordset.name
}
*/

View File

@ -3,7 +3,7 @@
variable "harbor_data" {
type = map(string)
default = {
name = "harbor-server"
name = "harbor"
flavor = "m1.xxl"
vol_data_name = "harbor-data"
vol_data_size = "20"