Add tests for security module#3567
Conversation
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings. WalkthroughAdds a provider lockfile, reorders existing security group resource blocks in the security module (no logic changes), adds variable validations, and introduces a new comprehensive TFT test suite for security group names, ports, rules, and conditional scenarios. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@infrastructure/modules/security/.terraform.lock.hcl`:
- Around line 4-24: The AWS provider entry in the lockfile is pinned to 6.22.0;
change the provider block for "registry.terraform.io/hashicorp/aws" to version
and constraints "6.22.1" and then regenerate the lockfile so the hashes match
(e.g., run terraform init / terraform providers lock or terraform init -upgrade)
to produce the correct 6.22.1 hashes; locate the provider block by the literal
provider string "registry.terraform.io/hashicorp/aws" to make the edit and
regeneration.
|
3399007
into
OWASP:feature/nest-zappa-migration



Resolves #3545
add tests for security module
Checklist
make check-testlocally: all warnings addressed, tests passed