new updates for infra - #13
Merged
Merged
Conversation
restructure vpc and backend modules
Talos linux implementation
…ntralize-provider Requirements & Analysis
Feat/review infra v1
Add high-level architecture overview for ShopStack infra
Add high-level architecture overview for ShopStack infra pt2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces significant improvements to the infrastructure codebase, focusing on modularization, documentation, and best practices for Terraform workflows. The most important changes are the introduction of reusable core modules (such as VPC and backend), enhancements to documentation (including architecture and module READMEs), and the setup of pre-commit hooks for Terraform code quality. Additionally, it removes legacy or unused EKS-related files.
Infrastructure Modularization and Environment Wiring
core/vpcmodule using the official AWS VPC Terraform module, with configurable variables and outputs for VPC and subnet IDs. This module is currently experimental and not used in infra v1. (core/vpc/main.tf,core/vpc/variables.tf,core/vpc/versions.tf,core/vpc/README.md) [1] [2] [3] [4]core/backendmodule for managing the Terraform remote state backend (S3 bucket and DynamoDB lock table), with autogenerated documentation. (core/backend/README.md)envs/devenvironment to consume the new VPC module and backend, with improved variable handling and backend configuration. (envs/dev/main.tf,envs/dev/backend.tf,envs/dev/README.md,envs/dev/versions.tf,envs/dev/outputs.tf) [1] [2] [3] [4] [5]Documentation and Architecture
docs/ARCHITECTURE.md) [1] [2]Terraform Workflow and Quality
.pre-commit-config.yamlfile with hooks for Terraform formatting, validation, linting, security scanning (Trivy), and documentation generation, to enforce best practices and code quality.Cleanup and Removal of Legacy EKS Files
aws-authpatch, cleaning up legacy resources not used in the current infra design. (eks/main.tf,eks/variables.tf,eks/outputs.tf,eks/aws-auth-patch.yaml) [1] [2] [3] [4]General Provider Configuration
providers.tffor local development and bootstrapping, specifying provider version and default AWS profile. (providers.tf)