feat: flag VPCs whose private subnets depend on one NAT gateway
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 77/100
Research direction
Read docs/recipes/README.md and docs/recipes/add-a-finding.md, then inspect src/app/findings.rs and the VpcInfo model for existing predicates and finding tests. Add the rule and roadmap entry, plus a minor changeset; done means the one-NAT non-default case fires, the quiet case does not, and the Rust formatting, clippy, and test commands pass. This work is blocked by #155.
Written by the indexing model from the issue text.
Description
Why
With one NAT gateway, an AZ outage cuts every private task off from the internet (image pulls, outbound API calls).
Follow docs/recipes/add-a-finding.md.
Steps
- Predicate on
VpcInfo: not default, exactly one NAT gateway. - Rule
vpc_single_nat_gateway(Hygiene, Medium). Next step: mention it is a deliberate cost trade-off for many small accounts, so the operator can acknowledge it. - Tests.
Where to look
src/app/findings.rs
Done when
- Predicate on the model with unit tests (one firing case, one quiet case)
- Rule added to
FINDING_RULESwith tests insrc/app/findings.rs -
docs/findings-roadmap.mdlists the rule under Current Findings - Changeset added (
minor) -
cargo fmt --all,cargo clippy --all-targets -- -D warnings, andcargo test --allpass, with output pasted in the PR
Check against AWS
Optional. Unit tests are enough for this issue.
Blocked by
#155. Start this after that is merged.
Size: XS. Read docs/recipes/README.md before starting.
- Dominant language
- Rust
- Stars
- 2
- Forks
- 0
- Avg merge
- 4h 8m
- Merged PRs (30d)
- 8
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from fells-code/seamless-glance
-
size: XS
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
fells-code/seamless-glance#166 ·
Maintainers usually reply within 1 day
-
size: S
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
fells-code/seamless-glance#165 ·
Maintainers usually reply within 1 day
-
size: S
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
fells-code/seamless-glance#164 ·
Maintainers usually reply within 1 day
-
size: S
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
fells-code/seamless-glance#162 ·
Maintainers usually reply within 1 day
-
size: XS
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
fells-code/seamless-glance#158 ·
Maintainers usually reply within 1 day
All issues in fells-code/seamless-glance
Similar issues
-
crate: spate-kafka documentation priority: medium
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
balovess/aria2_rust#88 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
agent-self
Difficulty 1/5 Under an hour Newbie friendliness 88/100
yologdev/yoyo-evolve#1154 ·