Terminal Process Error Assignement 5

I get this error in the terminal so often.

I tried- `terraform apply -no-color 2> errors.txt` and it still keeps happeneing.

I rebooted the console too but still the error persists. Please advice.

When creating a post, please add:

  • Module # must be added in the tags option of the post. (ex: Module-1)
  • Link to the classroom item you are referring to:
  • Description (include relevant info but please do not post solution code or your entire notebook)

Hi,

To avoid the terminal from crashing and to print the errors inline, append || echo "$?" to the command, for example: terraform plan || echo "$?"