/aws_eks_cluster

Create AWS EKS Cluster with Terraform

Primary LanguageHCL

Creating an AWS EKS cluster by Terraform

This code creates an AWS EKS cluster by Terraform.

That cluster can be used to deploy Kubernetes applications.

AWS region, vpc name, vpc cidr block can be set via 01_variables.tf file.

Also the code will automatically create a public subnet in all availability zones (AZs) within the selected AWS region.

Getting Started

Relevant command during deployment.

Step 1

terraform init

Step 2

terraform plan

Step 3

terraform apply

The EKS cluster is now ready on the AWS cloud to deploy Kubernetes applications