portfolio-app: drop the stale Phase-2 enable_branch_bypass hints and check the plan after gh-plumbing #509/#510
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 68/100
- Tipo de issue
- Documentación
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- github, terraform
- Área
- devops, infrastructure
Línea de trabajo
Lee primero docs/en/portfolio-app.md:59, luego el bypass del ruleset (bypass_portfolio_app = true, actor_type = "Integration") en terraform/repos para ver a qué deben apuntar las pistas. Edita el comentario en terraform/portfolio-app/main.tf, la descripción de enable_branch_bypass en variables.tf y la línea comentada en terraform.example.tfvars; deja intacto el passthrough de la variable. Hecho significa que ninguna de las tres sugiere enable_branch_bypass = true, cada una nombra el bypass del ruleset, y un plan desde source scripts/portfolio-app-env.sh && terraform -chdir=terraform/portfolio-app init -upgrade && task tf:plan:portfolio-app queda registrado mostrando solo actualizaciones in-place de PORTFOLIO_APP_PRIVATE_KEY, sin replace ni destroy.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
terraform/portfolio-app consumes github.com/nolte/gh-plumbing//terraform/portfolio-app?ref=develop. Two module changes landed on gh-plumbing develop on 2026-11-21 and reach this root module at the next terraform init -upgrade. Three local hints also describe a bypass path that no longer works for this setup.
1. Stale "Phase 2" hints
These spots describe flipping enable_branch_bypass = true as the next step:
terraform/portfolio-app/main.tf: comment "Flip to Phase 2 once every consumer repo has the App installed …"terraform/portfolio-app/variables.tf: description ofenable_branch_bypass("Phase 2 toggle. Flip totrue…")terraform/portfolio-app/terraform.example.tfvars:# enable_branch_bypass = true
That path is not available here:
- In user mode (
user = var.owner), the module refusesenable_branch_bypass = trueat plan time since nolte/gh-plumbing#499. GitHub documents push restrictions only for organisation-owned repositories. - In organisation mode it additionally needs the new input
app_node_idsince nolte/gh-plumbing#510. docs/en/portfolio-app.md:59already says the module's bypass path is unused here, and that the App bypass lives interraform/reposrulesets (bypass_portfolio_app = true,actor_type = "Integration").
Change: point the three hints at the ruleset bypass in terraform/repos instead of enable_branch_bypass. Keep the variable passthrough as it is.
2. Check the plan after gh-plumbing #509
nolte/gh-plumbing#509 replaced the deprecated plaintext_value with value on the secret resources and raised the module's provider floor to ~> 6.12.
- The local lockfile already pins provider 6.12.1, so
initshould resolve without a version change. - In user mode only
github_actions_secretis affected. The newgithub_actions_organization_secret_repositoriesresource is organisation-mode only. - Expected, not verified: one in-place update per consumer repository for
PORTFOLIO_APP_PRIVATE_KEY, with no replace and no change to the variable.
Check: source scripts/portfolio-app-env.sh && terraform -chdir=terraform/portfolio-app init -upgrade && task tf:plan:portfolio-app. Confirm the plan shows only those in-place secret updates, then apply.
Optional
Since nolte/gh-plumbing#510, app_slug is optional and no longer read by the module. TF_VAR_app_slug in scripts/portfolio-app-env.sh and the app_slug passthrough can stay. They are harmless and could be removed later.
Acceptance
- None of the three files suggests
enable_branch_bypass = trueas a next step. Each names the ruleset bypass interraform/repos. - A plan after
init -upgradeis recorded in the PR. It shows no replace and no destroy.
- Lenguaje dominante
- HCL
- Estrellas
- 0
- Forks
- 0
- Merge medio
- 23 min
- PR fusionados (30 d)
- 3
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 nolte/terraform-github-bootstrap
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Todos los issues de nolte/terraform-github-bootstrap
Issues similares
-
platform: ci platform: security
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
projectwallace/projectwallace.com#498 ·
Los mantenedores suelen responder en 1 día
-
Go Lint fails with "Text file busy" while a golangci-lint step installs the binaryPosiblemente ocupada @denisvmedia la tomó hoy. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Nightly image scan is failingAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
needs triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
389ds/389-ds-base#8251 ·
Los mantenedores suelen responder en 1 día
-
ci
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
jonathanong/no-mistakes#5801 ·