- Install terraform with either tfenv or tfswitcher
- Set
DIGITALOCEAN_TOKEN
environment variable from a personal access token
- Connect to a temporary server with a socks5 proxy port forward on 8140
./connect.sh
- Install pre-commit hooks
brew install pre-commit
- Install terraform-docs
brew install terraform-docs
Name | Version |
---|---|
terraform | >= 0.15 |
Name | Version |
---|---|
digitalocean | 2.21.0 |
local | 2.2.3 |
null | 3.1.1 |
random | 3.3.2 |
template | 2.2.0 |
tls | 4.0.0 |
No modules.
Name | Type |
---|---|
digitalocean_droplet.temporary | resource |
digitalocean_ssh_key.temporary | resource |
local_sensitive_file.private_key_pem | resource |
null_resource.delay | resource |
random_string.hostname | resource |
tls_private_key.temporary | resource |
template_cloudinit_config.droplet-userdata | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
private_key_file | name of the private_key_file | string |
"id_rsa" |
no |
Name | Description |
---|---|
connection_string | Command line string to connect and port forward |
ipv4_address | The IPv4 address of the temporary server |
private_key_file | The filename of the private ssh key |