mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-04-29 20:07:38 +02:00
refactor: Refactoring to match the rest of terraform-aws-modules (#1583)
This commit is contained in:
@@ -1,31 +1,27 @@
|
||||
variable "cluster_name" {
|
||||
description = "Name of the EKS cluster."
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "create_eks" {
|
||||
description = "Controls if EKS resources should be created (it affects almost all resources)"
|
||||
type = bool
|
||||
default = true
|
||||
}
|
||||
|
||||
variable "iam_path" {
|
||||
description = "IAM roles will be created on this path."
|
||||
type = string
|
||||
default = "/"
|
||||
}
|
||||
|
||||
variable "iam_policy_arn_prefix" {
|
||||
description = "IAM policy prefix with the correct AWS partition."
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "create_fargate_pod_execution_role" {
|
||||
description = "Controls if the the IAM Role that provides permissions for the EKS Fargate Profile should be created."
|
||||
type = bool
|
||||
default = true
|
||||
}
|
||||
|
||||
variable "cluster_name" {
|
||||
description = "Name of the EKS cluster."
|
||||
type = string
|
||||
default = ""
|
||||
}
|
||||
|
||||
variable "iam_path" {
|
||||
description = "IAM roles will be created on this path."
|
||||
type = string
|
||||
default = "/"
|
||||
}
|
||||
|
||||
variable "fargate_pod_execution_role_name" {
|
||||
description = "The IAM Role that provides permissions for the EKS Fargate Profile."
|
||||
type = string
|
||||
@@ -55,11 +51,3 @@ variable "tags" {
|
||||
type = map(string)
|
||||
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 "eks_depends_on" {
|
||||
description = "List of references to other resources this submodule depends on."
|
||||
type = any
|
||||
default = null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user