We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 713690d commit c7972a0Copy full SHA for c7972a0
infra/terraform/my-stamps.tf
@@ -25,11 +25,14 @@ provider "digitalocean" {
25
26
# Droplet docs: https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/droplet.html
27
resource "digitalocean_droplet" "web" {
28
- # "ubuntu-16-04-x64" resolves into Ubuntu 16.04.6 while our server is based on Ubuntu 16.04.1
29
- image = "18572320"
+ image = "ubuntu-24-04-x64"
30
name = "my-stamps.ru"
31
region = "fra1"
32
size = "s-1vcpu-1gb"
+ # https://developer.hashicorp.com/terraform/language/meta-arguments/lifecycle
33
+ lifecycle {
34
+ ignore_changes = [image]
35
+ }
36
}
37
38
# Domain docs: https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/domain.html
0 commit comments