Skip to content

In this repo we wiil create a EKS cluster with VPC configuration such as Security groups and Network ACLs using Terraform

License

Notifications You must be signed in to change notification settings

iamsathishs/Terraform_EKS_With_VPC

Repository files navigation

terraform-eks

A sample repository to create EKS on AWS using Terraform.

Install AWS CLI

As the first step, you need to install AWS CLI as we will use the AWS CLI (aws configure) command to connect Terraform with AWS in the next steps.

Follow the below link to Install AWS CLI.

https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html

Install Terraform

Next, Install Terraform using the below link.

https://developer.hashicorp.com/terraform/tutorials/aws-get-started/install-cli

Connect Terraform with AWS

Its very easy to connect Terraform with AWS. Run aws configure command and provide the AWS Security credentials as shown in the video.

Initialize Terraform

Clone the repository and Run terraform init. This will intialize the terraform environment for you and download the modules, providers and other configuration required.

Optionally review the terraform configuration

Run terraform plan to see the configuration it creates when executed.

Finally, Apply terraform configuation to create EKS cluster with VPC

terraform apply

About

In this repo we wiil create a EKS cluster with VPC configuration such as Security groups and Network ACLs using Terraform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages