diff options
Diffstat (limited to 'openlab/modules/openstack/keypair/main.tf')
-rw-r--r-- | openlab/modules/openstack/keypair/main.tf | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/openlab/modules/openstack/keypair/main.tf b/openlab/modules/openstack/keypair/main.tf new file mode 100644 index 0000000..5b1384a --- /dev/null +++ b/openlab/modules/openstack/keypair/main.tf @@ -0,0 +1,6 @@ +resource "openstack_compute_keypair_v2" "key" { + # You cna find a public/private key pair from your remote state storage. + name = "${var.cluster_name}-key" + # In order to generate a new keypair via existing public key + public_key = var.ssh_public_key +} |