mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-26 17:01:04 -06:00
updates digitalocean example to correct private_key
This commit is contained in:
parent
c1a359c723
commit
ab7cc32fe1
@ -24,7 +24,7 @@ resource "digitalocean_droplet" "mywebserver" {
|
||||
|
||||
connection {
|
||||
type = "ssh"
|
||||
key_file = "file(${HOME}/.ssh/id_rsa)"
|
||||
private_key = "${file("~/.ssh/id_rsa")}"
|
||||
user = "root"
|
||||
timeout = "2m"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user