Allow configurable time for shutdown script
According to https://cloud.google.com/compute/docs/shutdownscript#time_period the shutdown script has a limited time period to run, and running it on a best effort basis. This causes issues when we want to ensure that a shutdown script runs, and completes its cleanup task. An example would be flushing in-memory cached data to a backend store, failing which would lead to a corrupted datastore. We have actually faced this in production. If there are other options available please let me know.
Also, changing the behaviour of the software (flush more often) is not possible in our case.