diff --git a/modules/host/locals.tf b/modules/host/locals.tf index 46e0f81..4edc40e 100644 --- a/modules/host/locals.tf +++ b/modules/host/locals.tf @@ -12,5 +12,5 @@ locals { ssh_args = "-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i ${local.ssh_identity_file}" # the hosts name with its unique suffix attached - name = "${var.name}-${random_pet.server.id}" + name = "${var.name}-${random_string.server.id}" }