Skip to content

Configure Terraform and deploy infrastructure #12

@grovecj

Description

@grovecj

Description

Apply Terraform configuration to provision DigitalOcean infrastructure.

Prerequisites

  • DigitalOcean API token
  • DigitalOcean Spaces access keys
  • GitHub personal access token
  • SSL certificate for custom domain (if using)

Tasks

  • Create terraform.tfvars from example
  • Run `terraform init`
  • Run `terraform plan` and review
  • Run `terraform apply`
  • Verify Spaces bucket is created
  • Verify CDN is configured
  • Verify App Platform app is ready (will fail initially until backend code exists)
  • Configure DNS records for custom domains
  • Update database firewall rules if needed

Validation

  • Spaces bucket accessible at expected endpoint
  • CDN endpoint serves content
  • Database connection works from App Platform

Notes

  • The App Platform deployment will fail until the backend code exists with Dockerfile
  • Database firewall may conflict with mlb-stats - need to merge rules

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions