From 179be13975d982c17b1c8e97442612808c78a318 Mon Sep 17 00:00:00 2001 From: Prajyot-Parab Date: Fri, 1 Dec 2023 20:31:50 +0530 Subject: [PATCH] Fix ssh keypair naming format Signed-off-by: Prajyot-Parab --- modules/1_vpc_prepare/keys/create_new/keys.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/1_vpc_prepare/keys/create_new/keys.tf b/modules/1_vpc_prepare/keys/create_new/keys.tf index b757a71..66a0fa7 100644 --- a/modules/1_vpc_prepare/keys/create_new/keys.tf +++ b/modules/1_vpc_prepare/keys/create_new/keys.tf @@ -24,7 +24,7 @@ locals { resource "ibm_is_ssh_key" "vpc_support_ssh_key_cond_create" { depends_on = [data.ibm_is_ssh_keys.keys] count = !var.vpc_skip_ssh_key_create ? 1 : 0 - name = "${var.vpc_name}-${var.name_prefix}-keypair" + name = "${var.name_prefix}-keypair" public_key = local.public_key resource_group = var.vpc_resource_group }