Is there a way to add a hook into Terraform that requires the current branch be up-to-date before running terraform apply? If so, should we add that? It doesn't stop emergency applys - just git commit -m "temp" and undo it after, which doesn't make the branch out-of-date locally - but it does prevent situations liking accidentally taking down March Madness for a few minutes...
Is there a way to add a hook into Terraform that requires the current branch be up-to-date before running
terraform apply? If so, should we add that? It doesn't stop emergencyapplys - justgit commit -m "temp"and undo it after, which doesn't make the branch out-of-date locally - but it does prevent situations liking accidentally taking down March Madness for a few minutes...