ssh-key

clouddrove/ssh-key/digitalocean

Terraform Module HCL DIGITALOCEAN

Provides a DigitalOcean SSH key resource to allow you to manage SSH keys for Droplet access.

Install
module "ssh-key" {
source = "clouddrove/ssh-key/digitalocean"
version = "0.15.0"
}
plain text: /constructs/tfmod-clouddrove-ssh-key-digitalocean/install.txt
⭐ Source on GitHub 📦 Registry page
README

Terraform DigitalOcean SSH Key Provides a DigitalOcean SSH key resource to allow you to manage SSH keys for Droplet access. Prerequisites This module has a few dependencies: IMPORTANT: Since the master branch used in source varies based on new modifications, we suggest that you use the release versions here. Simple Example Here is an example of how you can use this module in your inventory structure: ``hcl module "ssh-key" { source = "clouddrove/ssh-key/digitalocean" version = "0.15.0" key_path = "~/.ssh/id_rsa.pub" key_name = "devops" enable_ssh_key = true } ` Inputs | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| | enable\_ssh\_key | A boolean flag to enable/disable ssh key. | bool | true | no | | key\_name | Name (e.g. it-admin or de

Inputs (4)
NameTypeDescriptionDefault
key_namestringName (e.g. `it-admin` or `devops`).""
enable_ssh_keyboolA boolean flag to enable/disable ssh key.true
ssh_keystringSSH key"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC
key_pathstringName (e.g. `~/.ssh/id_rsa.pub` or `ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQD3F6ty""
Outputs (4)
id — The unique ID of the key.
name — The name of the SSH key.
public_key — The text of the public key.
fingerprint — The fingerprint of the SSH key.
Resources (1)
digitalocean_ssh_key
Details
FrameworkTerraform Module
LanguageHCL
Version0.15.0
Cloud DIGITALOCEAN
★ Stars4
Forks7
Total downloads1.9k
Inputs4
Outputs4
Resources1
LicenseMIT
Namespaceclouddrove
Updated