{"id":42108643,"url":"https://github.com/techtales-io/terraform-discord","last_synced_at":"2026-01-26T13:25:58.070Z","repository":{"id":222734315,"uuid":"755342731","full_name":"techtales-io/terraform-discord","owner":"techtales-io","description":"IaC for the techtales discord server with Terraform","archived":false,"fork":false,"pushed_at":"2026-01-13T18:26:44.000Z","size":840,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-13T20:54:51.689Z","etag":null,"topics":["discord","gitops","iac","terraform"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/techtales-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-02-09T23:33:40.000Z","updated_at":"2026-01-13T18:26:49.000Z","dependencies_parsed_at":"2025-12-31T10:00:24.103Z","dependency_job_id":null,"html_url":"https://github.com/techtales-io/terraform-discord","commit_stats":null,"previous_names":["techtales-io/terraform-discord"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/techtales-io/terraform-discord","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techtales-io%2Fterraform-discord","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techtales-io%2Fterraform-discord/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techtales-io%2Fterraform-discord/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techtales-io%2Fterraform-discord/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/techtales-io","download_url":"https://codeload.github.com/techtales-io/terraform-discord/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techtales-io%2Fterraform-discord/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28779339,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T11:46:04.308Z","status":"ssl_error","status_checked_at":"2026-01-26T11:46:02.664Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["discord","gitops","iac","terraform"],"created_at":"2026-01-26T13:25:55.514Z","updated_at":"2026-01-26T13:25:58.064Z","avatar_url":"https://github.com/techtales-io.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- markdownlint-disable MD041 --\u003e\n\u003c!-- markdownlint-disable MD033 --\u003e\n\u003c!-- markdownlint-disable MD028 --\u003e\n\n\u003c!-- PROJECT SHIELDS --\u003e\n\u003c!--\n*** I'm using markdown \"reference style\" links for readability.\n*** Reference links are enclosed in brackets [ ] instead of parentheses ( ).\n*** See the bottom of this document for the declaration of the reference variables\n*** for contributors-url, forks-url, etc. This is an optional, concise syntax you may use.\n*** https://www.markdownguide.org/basic-syntax/#reference-style-links\n--\u003e\n\n[![pre-commit][pre-commit-shield]][pre-commit-url]\n[![taskfile][taskfile-shield]][taskfile-url]\n[![terraform][terraform-shield]][terraform-url]\n[![statefile][statefile-shield]](README.md)\n\n# Terraform Discord for techtales.io\n\nDiscord Server Infrastructure as code with Terraform and Atlantis.\n\n\u003cdetails\u003e\n  \u003csummary style=\"font-size:1.2em;\"\u003eTable of Contents\u003c/summary\u003e\n\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n\n- [Code-Style](#code-style)\n  - [Terraform](#terraform)\n- [Getting Started](#getting-started)\n  - [Prerequisties](#prerequisties)\n  - [Initialize repository](#initialize-repository)\n- [Configuration](#configuration)\n  - [env](#env)\n- [CRD like data structure](#crd-like-data-structure)\n  - [Easy Collaboration](#easy-collaboration)\n  - [Versioning and Change Management](#versioning-and-change-management)\n  - [Data and Logic Separation](#data-and-logic-separation)\n  - [Flexibility in Spec Changes](#flexibility-in-spec-changes)\n  - [Standardization and Consistency](#standardization-and-consistency)\n  - [Improved Maintainability](#improved-maintainability)\n\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c/details\u003e\n\n## Code-Style\n\n### Terraform\n\n#### Best practices\n\n[terraform-best-practices.com][terraform-best-practices]\n\n#### Naming of Terraform resources\n\n- lower-case characters\n\nPattern: `[a-z_-]+`\n\n## Getting Started\n\n### Prerequisties\n\n- [pre-commit][pre-commit-url]\n- [terraform][terraform-url]\n- [terraform-docs][terraform-docs]\n- [tflint][tflint]\n- [trivy][trivy]\n\n### Initialize repository\n\nTerraform and pre-commit framework need to get initialized.\n\n```console\ntask terraform:init\ntask pre-commit:init\n```\n\n## Configuration\n\n### env\n\n| Name                    | Description                           |\n| ----------------------- | ------------------------------------- |\n| `VAULT_ADDR`            | vault url/address                     |\n| `VAULT_TOKEN`           | vault token                           |\n| `AWS_ENDPOINT_URL_S3`   | endpoint url for the s3 state backend |\n| `AWS_REGION`            | region for the s3 state backend       |\n| `AWS_ACCESS_KEY_ID`     | username for the s3 state backend     |\n| `AWS_SECRET_ACCESS_KEY` | password for the s3 state backend     |\n\n## CRD like data structure\n\nBy leveraging YAML-like CRDs as Terraform inputs, we can create a more flexible, maintainable, and collaborative infrastructure-as-code ecosystem that can easily adapt to changing requirements and team dynamics.\n\n### Easy Collaboration\n\n- **Human-readable format**: YAML is easy to read and write, making it accessible for team members with varying technical expertise.\n- **Version control friendly**: YAML files are text-based, allowing for easy tracking of changes in version control systems like Git.\n\n### Versioning and Change Management\n\n- **Clear versioning**: The apiVersion field allows for easy tracking of schema changes over time.\n- **Structured updates**: Changes to resources can be clearly documented and reviewed in pull requests.\n\n### Data and Logic Separation\n\n- **Clean separation**: YAML files contain only data, while Terraform handles the logic, promoting a clear separation of concerns.\n- **Reduced complexity**: Simplifies maintenance by keeping configuration data separate from infrastructure-as-code logic.\n\n### Flexibility in Spec Changes\n\n- **Extensible structure**: The spec section can be easily extended to accommodate new fields or configurations without breaking existing setups.\n- **Backward compatibility**: New versions can be introduced while maintaining support for older versions.\n\n### Standardization and Consistency\n\n- **Uniform structure**: Consistent format across different resource types improves readability and reduces errors.\n- **Metadata support**: The metadata section provides a standardized way to include additional information about resources.\n\n### Improved Maintainability\n\n- **Modular approach**: Each resource is defined in its own YAML block, making it easier to manage and update individual components.\n- **Reusability**: YAML blocks can be easily copied, shared, or templated for use across different projects or environments.\n\n\u003c!-- MARKDOWN LINKS \u0026 IMAGES --\u003e\n\u003c!-- https://www.markdownguide.org/basic-syntax/#reference-style-links --\u003e\n\n\u003c!-- Links --\u003e\n\n[terraform-best-practices]: https://www.terraform-best-practices.com/naming\n[terraform-docs]: https://github.com/terraform-docs/terraform-docs\n[tflint]: https://github.com/terraform-linters/tflint\n[trivy]: https://aquasecurity.github.io/trivy\n\n\u003c!-- Badges --\u003e\n\n[terraform-shield]: https://img.shields.io/badge/terraform-1.x-844fba?logo=terraform\n[terraform-url]: https://www.terraform.io/\n[pre-commit-shield]: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit\n[pre-commit-url]: https://github.com/pre-commit/pre-commit\n[taskfile-shield]: https://img.shields.io/badge/taskfile-enabled-brightgreen?logo=task\n[taskfile-url]: https://taskfile.dev/\n[statefile-shield]: https://img.shields.io/badge/minio-tfstate-F8991D.svg?logo=amazons3\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechtales-io%2Fterraform-discord","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechtales-io%2Fterraform-discord","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechtales-io%2Fterraform-discord/lists"}