[Feature Request] Fix the tflint recommended preset findings and enforce the full preset
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- terraform
- Lĩnh vực
- devops, infrastructure
Hướng nghiên cứu
Start with .tflint.hcl and tools/tflint.sh, then run tflint to reproduce the 66 findings and the evaluation failure in blueprints/fedramp-high/cloud-scheduler-job. Work through the reported unused declarations, deprecated interpolations, and untyped variable, recording notes for removed variables that may still appear in tfvars files. Done when the preset reports no findings, the blueprint loads successfully, and the script enforces the full preset.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Feature Description
Fix the findings that the tflint recommended preset reports today, then let tools/tflint.sh enforce the whole preset instead of only the terraform_naming_convention rule.
Use Case
- The
.tflint.hclfile enables therecommendedpreset, but CI never ran tflint until #310, so findings accumulated. - On
main, the preset reports 66 findings: 62terraform_unused_declarations, 3terraform_deprecated_interpolationand 1terraform_typed_variables. - tflint also fails to load
blueprints/fedramp-high/cloud-scheduler-job, because it evaluatesbase64encode(var.data)with a null default.
Proposed Solution
- Remove or use the unused variables and locals, convert the deprecated interpolations, and type the remaining variable.
- Fix the
cloud-scheduler-jobevaluation, for example by guarding the null value. - Drop
--only=terraform_naming_conventionfromtools/tflint.shonce the findings reach zero. - Removing an unused variable breaks tfvars files that still set it, so each removal needs a note.
Compliance & Deployment Context
- Target Deployment Type(s):
- US Region Restricted (e.g., Access Policy constraint)
- FedRAMP Moderate
- FedRAMP High
- DoD IL4
- DoD IL5
- All / General
- Relevant NIST 800-53r5 Controls: CM-2 baseline configuration
Reusability Check
Stellar Engine prioritizes reusability.
- I have checked if this functionality can be achieved by extending an existing module or blueprint.
- I have verified that this does not duplicate existing functionality.
Alternatives Considered
- Disable the noisy rules in
.tflint.hcl, which hides real dead code. - Keep only the naming rule, which leaves the preset unenforced.
Additional Context
- Related: #309, #310 and #311.
- Ngôn ngữ chính
- HCL
- Star
- 58
- Fork
- 25
- Merge trung bình
- 1 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 60
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của google/stellar-engine
-
Enhancement Framework - FedRAMP High Level of Effort - Low Priority - Medium Scope - Blueprint Scope - Module
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
google/stellar-engine#320 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
0-bootstrap: compute.restrictVpcPeering allows peering under a folder outside the deployer's orgCó thể đã có người làm @WandLZhang đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 35/100
google/stellar-engine#351 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Feature Request] Sync the repository tooling under tools/ from upstream Cloud Foundation FabricCó thể đã có người làm @digitalresistor đã nhận 3 ngày trước. Đang mởDocumentation Enhancement Level of Effort - Medium Priority - Medium Scope - Module
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
google/stellar-engine#319 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] il5/gke-hardened: shielded nodes, confidential nodes and the CIS SSH key setting never applyCó thể đã có người làm @digitalresistor đã nhận 3 ngày trước. Đang mởBug Framework - FedRAMP High Framework - IL5 Level of Effort - Low Priority - High Scope - Blueprint Scope - Module Security
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 67/100
google/stellar-engine#315 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] fedramp-high/gitlab: GKE control plane authorized ranges and node settings are silently ignoredCó thể đã có người làm @digitalresistor đã nhận 3 ngày trước. Đang mởBug Framework - FedRAMP High Level of Effort - Low Priority - High Scope - Blueprint Scope - Module Security
Độ khó 4/5 1-2 ngày Mức phù hợp với người mới 57/100
google/stellar-engine#314 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của google/stellar-engine
Issue tương tự
-
[BUG] deploy.restart_policy without condition drops the restart policyCó thể đã có người làm @akshat-lakhera đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
docker/compose#14383 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
melodic-software/claude-code-plugins#9619 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày
-
body-parser 2.3.0 in the published ai-dial-chat-bff image is vulnerable (CVE-2026-111181, HIGH)Có thể đã có người làm @illya-havsiyevych đã nhận hôm nay. Đang mởbug
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 87/100
epam/ai-dial-chat#9566 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
code-maintenance
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
Maintainer thường phản hồi trong vòng 1 ngày