Compare commits

...

10 Commits

Author SHA1 Message Date
f0cb096503 Prevent unintentional recreation when Image changes
Signed-off-by: Jason Rothstein <fdragon@fdragon.org>
2024-06-29 20:56:15 -05:00
345ea61288 Version bumps
Signed-off-by: Jason Rothstein <fdragon@fdragon.org>
2024-05-26 12:18:51 -05:00
ad2657ce14 Version Bump
Signed-off-by: Jason Rothstein <fdragon@fdragon.org>
2024-04-27 11:22:15 -05:00
037c3fb707 Version bump
Signed-off-by: Jason Rothstein <fdragon@fdragon.org>
2024-04-21 21:24:25 -05:00
42ad8e5fe8 Version bump 2024-03-15 21:52:51 -05:00
072ee45d97 Version bump 2023-12-25 14:50:11 -06:00
6c1860a9c8 Version bump 2023-12-16 17:48:53 -06:00
4feec6f283 Default to Fedora 38 2023-11-09 22:43:51 -06:00
a0a34fa304 Version bump 2023-11-09 22:42:06 -06:00
6e5c110821 Move to OpenTofu 1.6.0 2023-10-07 13:09:11 -05:00
4 changed files with 12 additions and 7 deletions

View File

@@ -3,19 +3,19 @@ all: init fmt validate
.PHONY: init
init:
terraform init -upgrade=false
tofu init -upgrade=false
.PHONY: initupgrade
initupgrade:
terraform init -upgrade=true
tofu init -upgrade=true
.PHONY: fmt
fmt: init
terraform fmt
tofu fmt
.PHONY: validate
validate: init fmt
terraform validate
tofu validate
.PHONY: clean
clean:

View File

@@ -2,6 +2,11 @@ resource "digitalocean_droplet" "this" {
backups = "true"
image = var.image_name
ipv6 = "true"
lifecycle {
ignore_changes = [
image,
]
}
monitoring = "true"
name = "${var.host_name}.${var.domain_name}"
region = var.region

View File

@@ -2,8 +2,8 @@ terraform {
required_providers {
digitalocean = {
source = "digitalocean/digitalocean"
version = ">= 2.30.0"
version = ">= 2.39.2"
}
}
required_version = ">= 1.5.7, < 1.6.0"
required_version = ">= 1.7.2"
}

View File

@@ -1,4 +1,4 @@
variable "image_name" {
default = "fedora-36-x64"
default = "fedora-38-x64"
type = string
}