2023-01-28 03:08:56 +00:00
|
|
|
terraform {
|
|
|
|
required_providers {
|
|
|
|
digitalocean = {
|
2023-01-29 18:32:33 +00:00
|
|
|
source = "digitalocean/digitalocean"
|
2023-01-28 03:08:56 +00:00
|
|
|
version = "2.25.2"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-01-29 18:31:47 +00:00
|
|
|
provider "digitalocean" {
|
2023-01-29 18:32:33 +00:00
|
|
|
token = var.do_token
|
2023-01-29 18:31:47 +00:00
|
|
|
spaces_access_id = var.spaces_access_id
|
|
|
|
spaces_secret_key = var.spaces_secret
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "do_token" {}
|
|
|
|
variable "spaces_access_id" {}
|
|
|
|
variable "spaces_secret" {}
|