Files
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

44 lines
1.0 KiB
Terraform

variable "cluster_one" {
description = "Input for your first EKS Cluster"
type = object({
name = string
region = string
tf_role = string
})
default = {
name = "eks-cluster-1"
region = "us-east-1"
tf_role = "<iam-role-in-eks-cluster-1-account>"
}
}
variable "cluster_two" {
description = "Input for your second EKS Cluster"
type = object({
name = string
region = string
tf_role = string
})
default = {
name = "eks-cluster-2"
region = "us-east-1"
tf_role = "<iam-role-in-eks-cluster-2-account>"
}
}
variable "monitoring" {
description = "Input for your AMP and AMG workspaces"
type = object({
managed_grafana_id = string
amp_workspace_alias = string
region = string
tf_role = string
})
default = {
managed_grafana_id = "<grafana-ws-id>"
amp_workspace_alias = "aws-observability-accelerator"
region = "<grafana-ws-region>"
tf_role = "<iam-role-in-grafana-ws-account>"
}
}