Skip to content

Commit

Permalink
update machine image
Browse files Browse the repository at this point in the history
  • Loading branch information
geloman committed Nov 24, 2024
1 parent cd0d631 commit 2074f5b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion terraform/main.tf
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
provider "digitalocean" {}

locals {
droplet_size = var.droplet_image
droplet_snapshot = data.digitalocean_droplet_snapshot.eastblue.id
}

resource "digitalocean_droplet" "droplet" {
image = local.droplet_snapshot
image = local.droplet_image
name = var.droplet_name
region = var.droplet_region
size = var.droplet_size
Expand Down

0 comments on commit 2074f5b

Please sign in to comment.