Compare commits

..

No commits in common. "master" and "2024-09-03.01" have entirely different histories.

5 changed files with 2 additions and 22 deletions

View File

@ -1,10 +1,5 @@
resource "digitalocean_droplet" "this" {
backups = "true"
backup_policy {
plan = var.backup_policy_plan
weekday = var.backup_policy_weekday
hour = var.backup_policy_hour
}
image = var.image_name
ipv6 = "true"
lifecycle {

View File

@ -2,8 +2,8 @@ terraform {
required_providers {
digitalocean = {
source = "digitalocean/digitalocean"
version = ">= 2.53.0"
version = ">= 2.40.0"
}
}
required_version = ">= 1.9.0"
required_version = ">= 1.8.1"
}

View File

@ -1,5 +0,0 @@
variable "backup_policy_hour" {
# UTC Hour : 0, 4, 8, 12, 16, 20
default = "0"
type = string
}

View File

@ -1,5 +0,0 @@
variable "backup_policy_plan" {
# daily or weekly
default = "weekly"
type = string
}

View File

@ -1,5 +0,0 @@
variable "backup_policy_weekday" {
# SUN, MON, TUE, WED, THU, FRI, SAT
default = "SUN"
type = string
}