TerraformCoreOps
GithubAsked in Platform engineer and DevOps engineer rounds
GitHub Actions environment secret is written into Terraform state, and the plan job uploads that state as an artifact
The scenario
A Terraform plan for GitHub environment secrets succeeds and uploads the plan artifact, so reviewers can download it. The GitHub provider stored the secret plaintext in state, and that state was copied into the artifact. The Azure storage account looks locked down. The artifact is the leak.
Model answer
Unlock the answer interviewers want to hear
Model answer, what to add at your level, the follow-up, and common mistakes.
INTERVIEW BANK PASSNot on sale right nowEvery drill and interview experience. Renews monthly.
DEVOPS PARKInterview Bank includedInterview Bank included, plus War Zone, labs, roadmaps and Daily Challenge.See DevOps Park plans
3 questions in this drill are free.Read a free one
How to answer at your level
The follow-up they'll ask
Common mistakes