From 4a6797e53cb618851126b7b81e0b10b11cfc9e13 Mon Sep 17 00:00:00 2001 From: Clarissa Lima Borges Date: Fri, 26 Jul 2024 12:32:35 -0300 Subject: [PATCH] Adjust Terraform formatting on aws/cluster/ files (#201) --- aws/cluster/modules/eks-cluster/main.tf | 4 ++-- aws/cluster/modules/eks-cluster/variables.tf | 8 ++++---- aws/cluster/variables.tf | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/aws/cluster/modules/eks-cluster/main.tf b/aws/cluster/modules/eks-cluster/main.tf index a822aba..bc51f4b 100644 --- a/aws/cluster/modules/eks-cluster/main.tf +++ b/aws/cluster/modules/eks-cluster/main.tf @@ -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 } diff --git a/aws/cluster/modules/eks-cluster/variables.tf b/aws/cluster/modules/eks-cluster/variables.tf index dcdc1c0..015e5ae 100644 --- a/aws/cluster/modules/eks-cluster/variables.tf +++ b/aws/cluster/modules/eks-cluster/variables.tf @@ -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" { diff --git a/aws/cluster/variables.tf b/aws/cluster/variables.tf index 00df4c8..65e151e 100644 --- a/aws/cluster/variables.tf +++ b/aws/cluster/variables.tf @@ -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" {