2020-12-03 21:26:28 +00:00
|
|
|
terraform {
|
|
|
|
required_providers {
|
|
|
|
digitalocean = {
|
|
|
|
source = "digitalocean/digitalocean"
|
|
|
|
version = "~> 2.3.0"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
backend "s3" {
|
|
|
|
skip_credentials_validation = true
|
|
|
|
skip_metadata_api_check = true
|
|
|
|
# Need to specify an AWS region to stop Terraform complaining
|
|
|
|
region = "us-east-1"
|
|
|
|
endpoint = "nyc3.digitaloceanspaces.com"
|
|
|
|
bucket = "jdormit-tf-state"
|
2020-12-31 21:22:41 +00:00
|
|
|
key = "prod/syncthing-packer.tfstate"
|
2020-12-03 21:26:28 +00:00
|
|
|
}
|
|
|
|
}
|