[DCP] Set the force restarts as a TF Variable - #201
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces a force_restart boolean variable across the Terraform modules to conditionally control whether Cloud Run services are forced to redeploy/restart with a timestamp. The review feedback suggests setting the top-level variable default to null and configuring the innermost module's default to false to ensure nested module defaults are respected and not overridden by parent defaults.
|
/gemini review |
There was a problem hiding this comment.
Code Review
This pull request introduces a new Terraform variable skip_container_restarts (defaulting to false) across several modules. When set to true, it prevents updating the FORCE_RESTART environment variable with a new timestamp, thereby avoiding unnecessary container restarts and speeding up terraform apply when container images have not changed. I have no feedback to provide as there are no review comments.
This will allow us to speed up development by preventing over 3 minutes of wait time on every TF apply.