Terraform -- Upload failed: wait: remote command exited without exit status or exit signal

Hi there, I am trying to provision a TF infrastructure on aws and following some processes

Terraform Version

Terraform v0.13.0

Expected Behavior

It should work without errors and provide the infrastructure.

Actual Behavior

Error: Upload failed: wait: remote command exited without exit status or exit signal

Steps to Reproduce

Please list the full steps required to reproduce the issue, for example:

  1. git clone
  2. terraform init
  3. `terraform apply

I’d want some help in avoiding this error