How to Fix the error trailing spaces (trailing-spaces) too many spaces after colon (colons)

Hi ,

How to fix these errors in logs …

trailing spaces (trailing-spaces)
too many spaces after colon (colons)

tried …terraform fmt --recursive

I recognize these messages. They are produced by yamllint, and are nothing to do with Terraform.

fixed in the yaml file finally …thanks