Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/babakdoraniarab/terraform-aws-vpc-eks
a terraform code to run aws vpc and eks
https://github.com/babakdoraniarab/terraform-aws-vpc-eks
aws eks eks-cluster k8s kubernetes terraform
Last synced: about 1 month ago
JSON representation
a terraform code to run aws vpc and eks
- Host: GitHub
- URL: https://github.com/babakdoraniarab/terraform-aws-vpc-eks
- Owner: babakDoraniArab
- Created: 2022-01-26T11:35:52.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-03-08T18:47:33.000Z (almost 3 years ago)
- Last Synced: 2023-03-06T09:32:51.912Z (almost 2 years ago)
- Topics: aws, eks, eks-cluster, k8s, kubernetes, terraform
- Language: HCL
- Homepage:
- Size: 16.6 KB
- Stars: 17
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Requirements
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 0.13.1 |
| [aws](#requirement\_aws) | >= 3.71 |## Providers
| Name | Version |
|------|---------|
| [aws](#provider\_aws) | >= 3.71 |# How to configure VPC and EKS from scratch
with this package you can have VPC and EKS from scratch. just clone it and then put the following commands. please be sure about your aws cli profile.`terraform init`
`terraform fmt`
`terraform validate`
`terraform apply`
### create kub config
check your kube config first`cat ~/.kube/config`
create your context
`aws eks --region eu-west-1 update-kubeconfig --name eks --profile default`
### you can find the k8s configuration on k8s folder
k8s -> app.yaml
you have to apply it with kubectl command
and know you check your cluster