diff options
author | yoonsoonjahng <yoonsoon.jahng@yoppworks.com> | 2020-09-02 13:06:34 -0400 |
---|---|---|
committer | yoonsoonjahng <yoonsoon.jahng@yoppworks.com> | 2020-09-09 21:07:31 -0400 |
commit | bc47c630d9fdc0e0e75b64a0c3d2311df28cfeaa (patch) | |
tree | 23f97a308af22389a46534dba2328e3d4e52e3e0 /openlab/modules/openstack/keypair/main.tf | |
parent | e291bec2483388ff1b6f2552dd894d7092823a06 (diff) |
added initial files
Issue-ID: INT-1698
Change-Id: I3405a7815bc51dbdf2cb61cd2003d46f428f059c
Signed-off-by: yoonsoonjahng <yoonsoon.jahng@yoppworks.com>
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 +} |