feat(infra): PR #5 — Terraform network + ECR foundation - #176
Open
devin-ai-integration[bot] wants to merge 1 commit into
Open
devin-ai-integration[bot] wants to merge 1 commit into
devin-ai-integration[bot] wants to merge 1 commit into
Conversation
PR #5 / Wave 2: self-contained Terraform root infra/network - VPC across AZs with public/private subnets, IGW, single NAT gateway, batch security group (health-probe 8080 within VPC), and one ECR repo per containerized CB* program (parameterized by var.programs, scan-on-push + lifecycle policy). No backend committed so it validates offline. infra/README.md documents the per-domain layout and shared naming/tag convention. Co-Authored-By: Vibha Seshadri <vibha.seshadri@cognition.ai>
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
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.
Summary
Wave 2 / PR #5. First IaC PR: a self-contained Terraform root
infra/network/for the VPC/networking foundation + the ECR registry. Small and app-agnostic; later IaC PRs (#6 storage, #7 compute, #8 M2+scheduler) consume its outputs. Establishes the shared naming/tag convention and theinfra/layout viainfra/README.md.Parameterized so services onboard by config:
var.programs = ["cbtrn02c"]drives ECR repos viafor_each;var.environmentfeeds thename_prefix. Dataset naming untouched (AWS.M2.CARDDEMO.*).Verified locally
terraform fmt -check,terraform init -backend=false,terraform validate→ Success! The configuration is valid.Links
docs/modernization/CURRENT_STATE_ANALYSIS.md§6, §8vpc_id/subnet/SG/ECR outputs.Link to Devin session: https://app.devin.ai/sessions/c0f261ce337a4aee965332f1754d037a
Requested by: @vibhaseshadri-cognition
Devin Review