Skip to content

Commit

Permalink
Adjust Terraform formatting on aws/cluster/ files (#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
clarissalimab authored Jul 26, 2024
1 parent 8e29883 commit 4a6797e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions aws/cluster/modules/eks-cluster/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ resource "aws_eks_cluster" "this" {
version = var.k8s_version

vpc_config {
security_group_ids = [aws_security_group.control_plane.id]
subnet_ids = concat(var.private_subnet_ids, var.public_subnet_ids)
security_group_ids = [aws_security_group.control_plane.id]
subnet_ids = concat(var.private_subnet_ids, var.public_subnet_ids)
endpoint_private_access = var.endpoint_private_access
endpoint_public_access = var.endpoint_public_access
}
Expand Down
8 changes: 4 additions & 4 deletions aws/cluster/modules/eks-cluster/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ variable "enabled_cluster_log_types" {
}

variable "endpoint_private_access" {
type = bool
type = bool
description = "Enables the Amazon EKS private API server endpoint."
default = false
default = false
}

variable "endpoint_public_access" {
type = bool
type = bool
description = "Enables the Amazon EKS public API server endpoint."
default = true
default = true
}

variable "log_retention_in_days" {
Expand Down
8 changes: 4 additions & 4 deletions aws/cluster/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ variable "enabled_cluster_log_types" {
}

variable "endpoint_private_access" {
type = bool
type = bool
description = "Enables the Amazon EKS private API server endpoint."
default = false
default = false
}

variable "endpoint_public_access" {
type = bool
type = bool
description = "Enables the Amazon EKS public API server endpoint."
default = true
default = true
}

variable "k8s_version" {
Expand Down

0 comments on commit 4a6797e

Please sign in to comment.