dataflow parameters are invalid
Quite often when deploying Google Cloud Dataflow jobs I get this error:
Error: googleapi: Error 400: The template parameters are invalid., badRequest
Discovering the root cause of the error is difficult because, as far as I can tell, no other information about the error is available. Possible causes are:
-a none-optional parameter hasn't had a value supplied for it
-spelling error in my deployment code (which happens to be terraform - not that that is important)
-specifying values for parameters that are not declared in my flex template specification file
These have all caused me to receive the error message given above but tracking down the root cause has been difficult and time-consuming.
As far as I know there is no way to obtain more information about what the actual error is. I would dearly like the error message to contain such information.