Hi,
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,
- Create user in the AWS DevOps account which will have the access to the Dev, QA and Prod account
- Terraform in the DevOps account will refer to the DevOps account user having access to the dev,qa and prod
- 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 ?.