I am getting below error. I created the key as root and created the terraform files as different user. I tried to chmod 600 but still get the same error.
Getting this error when i did terraform plan
aws_key_pair.wp_auth: file: open /root/.ssh/kryptonite.pub: permission denied in:
Please suggest, how to resolve the issue