Files
terraform-aws-observability…/examples/eks-cross-account-with-central-amp/data.tf
T
Venkat Penmetsa d7daeb8c22 EKS Cross Account Observability using central AMP (#213)
* Added example for multi-cluster eks-monitoring and made changes to eks-monitoring module to allow cross-cluster IRSA

* Updated eks-monitoring module's README to add the variable description

* Hard-coded grafana license type in eks-cross-cluster-with-amp/main.tf

* Added README page for eks-cross-account-with-central-amp

* Extracted out the eks/amg creation and modified it to use existing resources

* Update README.md to add multiaccount dashboard png

* Updated README.md and multiaccount.md to add eks multiaccount png

* Updated eks-cross-cluster-with-amp example to disable dashboard creation for cluster 2

* Pre commit changed committed

* Fixed cross-account-observability docs and README.md and added variable for amp_workpace_alias

* Removed extra spacing in multiaccount.md and added precommit suggested changes

* Modified cross-account-observability example to change cross-account-amp-role to snake_case

* Capitalized Terraform string in multiaccount.md and converted iam-role-attach to snake_case

---------

Co-authored-by: Rodrigue Koffi <bonclay7@users.noreply.github.com>
2023-09-01 12:55:44 -04:00

20 lines
429 B
Terraform

data "aws_eks_cluster_auth" "eks_one" {
name = var.cluster_one.name
provider = aws.eks_cluster_one
}
data "aws_eks_cluster_auth" "eks_two" {
name = var.cluster_two.name
provider = aws.eks_cluster_two
}
data "aws_eks_cluster" "eks_one" {
name = var.cluster_one.name
provider = aws.eks_cluster_one
}
data "aws_eks_cluster" "eks_two" {
name = var.cluster_two.name
provider = aws.eks_cluster_two
}