Hi, I am in process of migrating Atlantis to the new K8s version 1.24, my state file resides on S3, and I am using an IAM role to access that. But with the new deployment on K8s 1.24, I am getting:
Initializing the backend...
Successfully configured the backend "s3"! Terraform will automatically
use this backend unless the backend configuration changes.
Error refreshing state: AccessDenied: Access Denied
status code: 403
I have checked the IAM role, within the same pod, I am able to access the state file from S3, using AWS CLI commands, I can perform write operations on the S3 bucket. So the IAM role is perfectly fine, so is the role binding with the service account, not sure why TF isn't able to access it.