Provisioners query

Hi, In the below image, everything works perfectly, but the file created by the LOCAL-EXEC was empty. Please could you tell me the reason?