set create before destory
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
44323ef46b
commit
c50547c2fb
@ -17,6 +17,11 @@ resource "hcloud_server" "serverctl_master" {
|
||||
]
|
||||
placement_group_id = hcloud_placement_group.serverctl_master.id
|
||||
|
||||
|
||||
lifecycle {
|
||||
create_before_destroy = true
|
||||
}
|
||||
|
||||
provisioner "remote-exec" {
|
||||
inline = ["sudo apt update", "sudo apt install python3 -y", "echo Done!"]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user