State file access from Different Account

I have 2 aws account. Account A and account B. i want to refer account A’s s3 bucket from Account B to store the state file. How to achieve that?
I have tried configuring backend.tf with role_arn.but it is giving error.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.