Feature: Harden secrets gitignore and add tfvars.example #232
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/pal-e-platform#232
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Feature
Lineage
Split from #231 during ticket review. Hardening companion to secrets documentation SOP.
Repo
forgejo_admin/pal-e-platformUser Story
As a superadmin
I want a tfvars example file and verified gitignore coverage
So that new contributors know what variables are needed without exposing actual values
Context
secrets.auto.tfvarsis already gitignored by*.tfvarsin root.gitignore— confirmed not tracked. But there's no example file showing what variables are expected.secrets_registry.slsalready has a comment on line 3 ("No actual secret values here") confirming it's metadata only.File Targets
Files the agent should create or modify:
terraform/secrets.auto.tfvars.example— expected variable names with placeholder valuessecrets_registry.slsconfirming audit dateFiles the agent should NOT touch:
*.tfvarsfiles (gitignored, not tracked)Acceptance Criteria
terraform/secrets.auto.tfvars.exampleexists with all expected variable names and placeholder valuestofu plan -lock=falsestill works (example file doesn't interfere)secrets_registry.slshas audit confirmation commentTest Expectations
tofu plan -lock=falsesucceedsgit statusshows example file tracked, actual tfvars still ignoredConstraints
~/secrets/pal-e-platform/secrets.envandterraform/variables.tfto derive the expected variable listCHANGEMEor<your-value-here>as placeholders, never real valuesChecklist
Related
project-pal-e-platform— platform infrastructure#231— companion SOP documentation ticket