uvlava/terraform/do/versions.tf
Natalie 284510b9ac infra(uvlava): seed shared infranet repo with DO store-tier IaC
Dedicated home for uvlava.com infra (forge, registry, DB, mesh) serving
lilith v2 + cocotte v4. Terraform init/validate/plan verified against live DO
(13 resources). Migrated out of the v2 product tree per the v2/v4 boundary.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-27 09:43:44 -04:00

33 lines
1.1 KiB
HCL

terraform {
required_version = ">= 1.6"
required_providers {
digitalocean = {
source = "digitalocean/digitalocean"
version = "~> 2.43"
}
}
# State lives locally for the initial stand-up. Once the Spaces bucket exists
# (spaces.tf), migrate to an S3-compatible remote backend pointed at it:
#
# backend "s3" {
# endpoints = { s3 = "https://nyc3.digitaloceanspaces.com" }
# bucket = "lilith-tfstate"
# key = "do/terraform.tfstate"
# region = "us-east-1" # ignored by Spaces, required by the s3 backend
# skip_credentials_validation = true
# skip_metadata_api_check = true
# skip_region_validation = true
# skip_requesting_account_id = true
# skip_s3_checksum = true
# }
}
provider "digitalocean" {
token = var.do_token
# Spaces uses S3-style credentials, distinct from the API token.
spaces_access_id = var.spaces_access_id
spaces_secret_key = var.spaces_secret_key
}