[Feature Request] Fix the tflint recommended preset findings and enforce the full preset
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 45/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- terraform
- Área
- devops, infrastructure
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- HCL
- Estrellas
- 55
- Forks
- 21
- Merge medio
- 1 d 19 h
- PR fusionados (30 d)
- 53
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de google/stellar-engine
-
Enhancement Framework - FedRAMP High Level of Effort - Low Priority - Medium Scope - Blueprint Scope - Module
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
google/stellar-engine#320 ·
Los mantenedores suelen responder en 1 día
-
Bug Level of Effort - Low Priority - High Scope - Fast Security
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
google/stellar-engine#318 ·
Los mantenedores suelen responder en 1 día
-
Bug Framework - FedRAMP High Level of Effort - Low Priority - Medium Scope - Blueprint Security
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
google/stellar-engine#317 ·
Los mantenedores suelen responder en 1 día
-
[Bug] il5/gke: the bastion_vm_public_ip output is always nullPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. AbiertoBug Framework - FedRAMP High Framework - IL5 Level of Effort - Low Priority - Medium Scope - Blueprint
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
google/stellar-engine#316 ·
Los mantenedores suelen responder en 1 día
-
Bug Level of Effort - Low Priority - High Scope - Blueprint Scope - Module Security
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
google/stellar-engine#313 ·
Los mantenedores suelen responder en 1 día
Todos los issues de google/stellar-engine
Issues similares
-
AdminNeo is failing to updateAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
lazycodex
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
code-yeongyu/oh-my-openagent#10973 ·
Los mantenedores suelen responder en 1 día
-
from:ci priority:P0
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
spec-kitty/spec-kitty#6621 ·
Los mantenedores suelen responder en 1 día
-
ci enhancement good first issue level1
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
FrostByte-49/Wharf#56 ·
-
[Core] Bundled runtime_env agent aiohttp 3.14.3 flagged by CVE-2026-111064 / CVE-2026-111066 / GHSA-2g87-pp6c-29x5; please bump to >=3.14.4Posiblemente ocupada @elliot-barn la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
ray-project/ray#67302 ·
Los mantenedores suelen responder en 2 días