terraform-res 2023-12-18
Build initial Terraform module structure with DNS, website, and git_repo modules
34 files · 687+

Provider and root configuration

5 files changed
  • provider.tf Configured Cloudflare, GoDaddy, GitHub, and external providers with version constraints
  • main.tf Root module wiring DNS and website modules with domain and site data
  • variables.tf Input variables for domains and sites data, API keys, and configuration
  • locals.tf Local values for JSON-decoded domain and site data
  • outputs.tf Output definitions for module results
  • Established multi-provider Terraform configuration with Cloudflare, GoDaddy (via n3integration provider), GitHub, and external data sources for managing domain infrastructure instantiate architectural
    2 files
    • provider.tf
    • main.tf
4 files changed
  • main.tf DNS record management module with for_each over domain records
  • variables.tf DNS module input variables for domain, records, and provider config
  • outputs.tf DNS module outputs
  • provider.tf DNS module provider requirements
  • Created reusable DNS module handling record creation across providers using for_each iteration over domain JSON definitions instantiate behavioral
    1 file
    • main.tf

Website module

3 files changed
  • main.tf Website deployment module for Cloudflare Pages or similar
  • variables.tf Website module variables for site configuration
  • provider.tf Website module provider requirements
  • Created website module for managing static site deployments with domain-to-site mapping instantiate behavioral
    1 file
    • main.tf

Git repo module

6 files changed
  • main.tf GitHub repository management module
  • variables.tf Git repo module variables
  • outputs.tf Git repo module outputs
  • provider.tf Git repo provider requirements
  • .terraform.lock.hcl Test lock file for git_repo module
  • test_git_repo.tf Test configuration for git_repo module
  • Created git_repo module for managing GitHub repositories as part of the infrastructure instantiate behavioral
    1 file
    • main.tf

Domain and site data definitions

2 files changed
  • sites.json Site configuration data for initial domains
  • REQUIREMENTS.md Detailed requirements document for the domain management system
  • Defined initial domain and site JSON data structures with requirements document specifying the domain object model, hierarchical overrides, and data flow specify behavioral
    2 files
    • REQUIREMENTS.md
    • sites.json

Bug report and screenshots

2 files changed
  • 2023-12-18-bug-001.txt First bug report from initial testing
  • 2023-12-18_14-02-02.png Screenshot from initial Terraform apply testing
  • Captured initial testing artifacts including bug report and screenshots documenting the first Terraform plan/apply cycles specify errata
    1 file
    • 2023-12-18-bug-001.txt