jdormit-infra/mgmt/do-spaces/terraform/main.tf

15 lines
306 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_tf_state" {
name = "jdormit-tf-state"
region = "nyc3"
lifecycle {
prevent_destroy = true
}
}