From a20fdc5872e1d1eeb6e5cc2820240a1e01f05b50 Mon Sep 17 00:00:00 2001 From: Eesaan Atluri <atlurie@uab.edu> Date: Tue, 21 Feb 2023 20:55:28 +0530 Subject: [PATCH] Remove usage of var that is not required. --- ohpc-instance/main.tf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ohpc-instance/main.tf b/ohpc-instance/main.tf index 71a9b01..427a9ed 100644 --- a/ohpc-instance/main.tf +++ b/ohpc-instance/main.tf @@ -25,7 +25,6 @@ variable "external_network" {} # is created in floating-ip module and called in root module variable "floating_ip_ohpc" {type = string} -variable "host_prefix" {} variable "ohpc_user" {} variable "ssh_private_key" {} @@ -76,5 +75,5 @@ output "id" { } output "ssh_host" { - value = format(var.host_prefix,element(split(".", var.floating_ip_ohpc),3,),) + value = var.floating_ip_ohpc } -- GitLab