mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Merge pull request #9296 from chaseadamsio/update-digitalOceanExample
updates digitalocean example main.tf to correct syntax for private_key & file function
This commit is contained in:
commit
4e5a5c7b55
@ -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