Do not support secrets natively in the dynamic provider
All existing implementations would fail if secret values were passed
to the dyanmic provider. When the provider says it does not support
secrets, the engine will do basic secrets tracking (any outputs with
the same names as secret inputs become secrets themselves).
@@ -53,7 +53,9 @@ function cancelRPC(call: any, callback: any): void {
}
function configureRPC(call: any, callback: any): void {
- callback(undefined, new emptyproto.Empty());
+ const resp = new provproto.ConfigureResponse();
+ resp.setAcceptsecrets(false);
+ callback(undefined, resp);
}
async function invokeRPC(call: any, callback: any): Promise<void> {
