Fix Compiling error & Add option to allow governor to terraform