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 }