Repository navigation
feat(terraform): add default-off Jaeger and Dynatrace VPC attachment flags - #190
Conversation
…flags jaeger_vpc_enabled and dynatrace_vpc_enabled (default false, nullable = false) attach the Jaeger and Dynatrace connector Lambdas to the VPC for private endpoints, with the same agentcore_enabled && integrations_enabled prerequisite as the existing per-kind flags. No IAM statement changes; the ENI policy count only widens. tftest pins defaults-dark and selective attachment. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
🤖 AI Code Review (two independent reviewers)_Reviewer responses: codex/ALL claude/ALL _ Status: PASSED — No blocking issues found All base-file claims verified — both Chair Review — PR #190: feat(terraform): add default-off Jaeger and Dynatrace VPC attachment flagsSummaryThis Terraform-only patch adds two default-off, Issues per lensL2 — Code correctnessNo CRITICAL/MAJOR. Both panels agree the gating logic is correct: the validation blocks make
L3 — Security / AWS mutation safetyNo CRITICAL/MAJOR. Both panels agree ADR-005 is not crossed: no new AWS write action, no change to
L4 — Observability / data-integration correctnessNo CRITICAL/MAJOR. Both panels agree the change doesn't touch Steampipe, CIS checks, or diagnosis logic, and that the
L5 — Docs / ADR consistencyNo CRITICAL/MAJOR. There is no
Panel agreement note: codex-ALL reported zero findings across all lenses; claude-ALL's findings are all MINOR and each one I spot-checked against the base held up. The disagreement is one of depth, not of substance — neither panel found a blocking issue, and I confirmed none exists in the resulting code. Suggestions
VerdictDefault-off, validation-gated, selectively attached, test-covered, and consistent with the repo's flag-gating discipline and ADR-005 freeze. All findings are MINOR; none blocks merge. The image manifest lists zero images, zero omissions, and zero unavailable entries. IMAGE_COVERAGE: NOT_REQUIRED Triggered by commit |
Summary
Split out of #183 so that PR stays within the AI review input limit; independent of the connector changes.
jaeger_vpc_enabled/dynatrace_vpc_enabledvariables (defaultfalse,nullable = false), validated to requireagentcore_enabled && integrations_enabledlike the existing per-kind VPC flags.vpc_configso private endpoints are reachable; the ENI-policy attachment only widens itscountpredicate — no IAM statement changes.tests/runtime_iam.tftest.hclpins defaults-dark (plan = no changes with both flags false) and selective attachment.Operators must review a saved plan and confirm private DNS, subnet routes and target security groups before enabling either flag; this PR activates nothing.
Tests
terraform fmt -checkclean;terraform test(mock provider) → see run log: all cases passed.🤖 Generated with Claude Code