Git Stash and AWS RDS Private Flag: Hidden Behaviors That Cost Developers Time
A developer working through KodeKloud Engineer platform tasks uncovered two non-obvious behaviors in Git and AWS that are absent from standard interface feedback. Git's stash command stores uncommitted work as a real commit under refs/stash, but it never appears in git status, branch history, or remote pushes, making it easy to lose work if the local machine becomes inaccessible. A key gotcha is that git stash apply restores files as modified but not staged, so a follow-up commit requires a manual git add before it will have anything to commit. On the AWS side, creating a private RDS MySQL instance via CLI revealed that 'private' is not determined by subnet placement but by the --no-publicly-accessible flag, which controls whether AWS assigns a publicly routable DNS name to the instance. Omitting that flag on a private-subnet database still results in AWS advertising it publicly, a detail the RDS console wizard never surfaces to the user.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in