You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
adc/terraform/bikeshed/provider.tf

31 lines
903 B

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
}