How to get the AWS EKS cluster name & CA data in different AWS account?


I’ve AWS EKS clusters deployed in dev, QA and prod AWS account (in multiple regions) & my requirement is read the AWS EKS cluster name and corresponding cluster CA data of all the clusters deployed in the dev, QA and prod account inside the DevOps AWS account.

I was thinking of trying the below approach,

  1. Create user in the AWS DevOps account which will have the access to the Dev, QA and Prod account
  2. Terraform in the DevOps account will refer to the DevOps account user having access to the dev,qa and prod
  3. Read the terraform state file of the dev, QA and prod cluster to get the cluster name & CA data.

Any suggestions or comments on the above approach ?.