adc/terraform/bikeshed/provider.tf
josiah 869a1272a6 Use a new template for PM, create provider, high-sea.
- New template had to be based on a CIFS file system to be
referencable across hosts

- high-sea is new VM for *arr hosting.
2023-09-24 11:22:21 -05:00

31 lines
901 B
HCL

terraform {
required_providers {
proxmox = {
source = "telmate/proxmox"
version = "2.7.4"
}
digitalocean = {
source = "digitalocean/digitalocean"
version = "~> 2.29.0"
}
}
backend "s3" {
key = "bikeshed/terraform.tfstate"
bucket = "deploy-state"
region = "us-west-2"
endpoint = "https://sfo2.digitaloceanspaces.com"
skip_region_validation = true
skip_credentials_validation = true
skip_metadata_api_check = true
# This is actually not needed, but declaring it here helps me remember where its supposed to live.
# You gotta comment these out when initing the terraform backend? for some reason.
shared_credentials_files = ["~/.aws/credentials"]
shared_config_files = ["~/.aws/config"]
}
}
provider "digitalocean" {
token = var.DO_PAT
}