We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6d46ba commit b2453caCopy full SHA for b2453ca
iac/cloud/openstack/lib/openstack-keypair/main.tf
@@ -1,5 +1,5 @@
1
resource "openstack_compute_keypair_v2" "ssh_keypair" {
2
- name = format("%skey", var.naming_prefix)
+ name = replace(format("%skey", var.naming_prefix), ".", "-")
3
}
4
5
resource "local_file" "private_key" {
@@ -12,4 +12,4 @@ resource "local_file" "public_key" {
12
content = openstack_compute_keypair_v2.ssh_keypair.public_key
13
filename = "${path.root}/id_rsa.pub"
14
file_permission = "0644"
15
-}
+}
0 commit comments