mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-01-15 08:14:12 +01:00
45 lines
1.5 KiB
HCL
45 lines
1.5 KiB
HCL
variable "create_eks" {
|
|
description = "Controls if EKS resources should be created (it affects almost all resources)"
|
|
type = bool
|
|
default = true
|
|
}
|
|
|
|
variable "cluster_name" {
|
|
description = "Name of parent cluster"
|
|
type = string
|
|
}
|
|
|
|
variable "default_iam_role_arn" {
|
|
description = "ARN of the default IAM worker role to use if one is not specified in `var.node_groups` or `var.node_groups_defaults`"
|
|
type = string
|
|
}
|
|
|
|
variable "workers_group_defaults" {
|
|
description = "Workers group defaults from parent"
|
|
type = any
|
|
}
|
|
|
|
variable "tags" {
|
|
description = "A map of tags to add to all resources"
|
|
type = map(string)
|
|
}
|
|
|
|
variable "node_groups_defaults" {
|
|
description = "map of maps of node groups to create. See \"`node_groups` and `node_groups_defaults` keys\" section in README.md for more details"
|
|
type = any
|
|
}
|
|
|
|
variable "node_groups" {
|
|
description = "Map of maps of `eks_node_groups` to create. See \"`node_groups` and `node_groups_defaults` keys\" section in README.md for more details"
|
|
type = any
|
|
default = {}
|
|
}
|
|
|
|
# Hack for a homemade `depends_on` https://discuss.hashicorp.com/t/tips-howto-implement-module-depends-on-emulation/2305/2
|
|
# Will be removed in Terraform 0.13 with the support of module's `depends_on` https://github.com/hashicorp/terraform/issues/10462
|
|
variable "ng_depends_on" {
|
|
description = "List of references to other resources this submodule depends on"
|
|
type = any
|
|
default = null
|
|
}
|