Skip to content

Commit

Permalink
Tflint for aws-eks module
Browse files Browse the repository at this point in the history
  • Loading branch information
kvvit committed Dec 30, 2024
1 parent d67859a commit 75c0a16
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
2 changes: 0 additions & 2 deletions terraform/modules/aws-eks/providers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,3 @@ provider "kubernetes" {
data "aws_eks_cluster_auth" "main" {
name = module.eks.cluster_name
}

data "aws_caller_identity" "current" {}
17 changes: 1 addition & 16 deletions terraform/modules/aws-eks/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@ variable "name" {
description = "Name, required to create unique resource names"
}

variable "env" {
type = string
description = "Environment name"
}

variable "region" {
type = string
description = "Infrastructure region"
Expand All @@ -28,12 +23,8 @@ variable "private_subnets" {
description = "A list of private subnets inside the VPC"
}

variable "public_subnets" {
type = list(any)
description = "A list of public subnets inside the VPC"
}

variable "eks_cluster_version" {
type = string
default = "1.29"
description = "Version of the EKS K8S cluster"
}
Expand Down Expand Up @@ -89,12 +80,6 @@ variable "eks_cloudwatch_log_group_retention_in_days" {
description = "Number of days to retain log events. Default retention - 90 days."
}

variable "eks_cluster_encryption_config_enable" {
type = bool
default = false
description = "Enable or not encryption for k8s secrets with aws-kms"
}

variable "eks_cluster_endpoint_public_access" {
type = bool
default = true
Expand Down

0 comments on commit 75c0a16

Please sign in to comment.