-
Notifications
You must be signed in to change notification settings - Fork 3
chore: LZA move and tf modules #126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR refactors the existing flat Terraform configurations into reusable modules, updates frontend and API stacks to consume those modules, and adjusts CI/CD workflows to align with the new module outputs and tool versions.
- Introduce and wire up new Terraform modules for WAF, S3 buckets, CloudFront, API Gateway, networking, and common resources
- Migrate inline resource definitions in
infrastructure/frontend,infrastructure/api, andinfrastructure/databaseto module calls - Update GitHub Actions workflows and the initial setup script with new Terragrunt/Terraform versions, ECR publishing steps, and module-based outputs
Reviewed Changes
Copilot reviewed 46 out of 47 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| infrastructure/modules/common/variables.tf | Defines target_env but error_message lists values not allowed by the condition |
| infrastructure/modules/networking/variables.tf | Declares availability_zones and security_group_name_suffix yet they’re no longer used |
| infrastructure/modules/networking/main.tf | Hardcodes AZ and SG names, ignoring the declared variables |
| .github/workflows/.deploy_stack.yml | Adds an ecr job to build and push images before other deployment steps |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
No description provided.