Project of EKS
This terraform project creates:
- 1 VPC
- 2 PUBLIC SUBNETS
- 2 PRIVATE SUBNETS
- 1 INTERNET GATEWAY
- 1 NATGATEWAY
- 1 EKS CLUSTER
We create a Workspace called 'cassiolab'.
terraform init
terraform workspace new cassiolab
terraform plan -var-file="_v_lab.tfvars" -out=lab.plan -var 'aws_profile=<your-aws-profile>' -var 'aws_region=us-west-2'
terraform apply "lab.plan"
terraform destroy -var-file="_v_lab.tfvars" -var 'aws_profile=<your-aws-profile>' -var 'aws_region=us-west-2'