jdormit-infra/prod/backup/terraform/main.tf
2022-05-12 15:17:07 -04:00

15 lines
302 B
HCL

provider "digitalocean" {
token = var.do_token
spaces_access_id = var.spaces_access_id
spaces_secret_key = var.spaces_secret_key
}
resource "digitalocean_spaces_bucket" "jdormit_backup" {
name = "jdormit-backup"
region = "nyc3"
lifecycle {
prevent_destroy = true
}
}