-
-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43 from WesleyCharlesBlake/refactor
v3 release - complete module refactor - terraform 0.13 compatible - eks managed node groups
- Loading branch information
Showing
1 changed file
with
17 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,26 +24,23 @@ Deploy a full AWS EKS cluster with Terraform | |
|
||
You can configure you config with the following input variables: | ||
|
||
| Name | Description | Default | | ||
| ------------------------- | ---------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| `cluster-name` | The name of your EKS Cluster | `eks-cluster` | | ||
| `aws-region` | The AWS Region to deploy EKS | `us-east-1` | | ||
| `availability-zones` | AWS Availability Zones | `["us-east-1a", "us-east-1b", "us-east-1c"]` | | ||
| `k8s-version` | The desired K8s version to launch | `1.13` | | ||
| `node-instance-type` | Worker Node EC2 instance type | `m4.large` | | ||
| `root-block-size` | Size of the root EBS block device | `20` | | ||
| `desired-capacity` | Autoscaling Desired node capacity | `2` | | ||
| `max-size` | Autoscaling Maximum node capacity | `5` | | ||
| `min-size` | Autoscaling Minimum node capacity | `1` | | ||
| `public-min-size` | Public Node groups ASG capacity | `1` | | ||
| `public-max-size` | Public Node groups ASG capacity | `1` | | ||
| `public-desired-capacity` | Public Node groups ASG capacity | `1` | | ||
| `vpc-subnet-cidr` | Subnet CIDR | `10.0.0.0/16` | | ||
| `private-subnet-cidr` | Private Subnet CIDR | `["10.0.0.0/19", "10.0.32.0/19", "10.0.64.0/19"]` | | ||
| `public-subnet-cidr` | Public Subnet CIDR | `["10.0.128.0/20", "10.0.144.0/20", "10.0.160.0/20"]` | | ||
| `db-subnet-cidr` | DB/Spare Subnet CIDR | `["10.0.192.0/21", "10.0.200.0/21", "10.0.208.0/21"]` | | ||
| `eks-cw-logging` | EKS Logging Components | `["api", "audit", "authenticator", "controllerManager", "scheduler"]` | | ||
| `ec2-key-public-key` | EC2 Key Pair for bastion and nodes | `ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQD3F6tyPEFEzV0LX3X8BsXdMsQz1x2cEikKDEY0aIj41qgxMCP/iteneqXSIFZBp5vizPvaoIR3Um9xK7PGoW8giupGn+EPuxIA4cDM4vzOqOkiMPhz5XK0whEjkVzTo4+S0puvDZuwIsdiW9mxhJc7tgBNL0cYlWSYVkz4G/fslNfRPW5mYAM49f4fhtxPb5ok4Q2Lg9dPKVHO/Bgeu5woMc7RY0p1ej6D4CKFE6lymSDJpW0YHX/wqE9+cfEauh7xZcG0q9t2ta6F6fmX0agvpFyZo8aFbXeUBr7osSCJNgvavWbM/06niWrOvYX2xwWdhXmXSrbX8ZbabVohBK41 [email protected]` | | ||
| Name | Description | Default | | ||
| --------------------- | ---------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| `cluster-name` | The name of your EKS Cluster | `eks-cluster` | | ||
| `aws-region` | The AWS Region to deploy EKS | `us-east-1` | | ||
| `availability-zones` | AWS Availability Zones | `["us-east-1a", "us-east-1b", "us-east-1c"]` | | ||
| `k8s-version` | The desired K8s version to launch | `1.17` | | ||
| `node-instance-type` | Worker Node EC2 instance type | `m4.large` | | ||
| `root-block-size` | Size of the root EBS block device | `20` | | ||
| `desired-capacity` | Autoscaling Desired node capacity | `2` | | ||
| `max-size` | Autoscaling Maximum node capacity | `5` | | ||
| `min-size` | Autoscaling Minimum node capacity | `1` | | ||
| `vpc-subnet-cidr` | Subnet CIDR | `10.0.0.0/16` | | ||
| `private-subnet-cidr` | Private Subnet CIDR | `["10.0.0.0/19", "10.0.32.0/19", "10.0.64.0/19"]` | | ||
| `public-subnet-cidr` | Public Subnet CIDR | `["10.0.128.0/20", "10.0.144.0/20", "10.0.160.0/20"]` | | ||
| `db-subnet-cidr` | DB/Spare Subnet CIDR | `["10.0.192.0/21", "10.0.200.0/21", "10.0.208.0/21"]` | | ||
| `eks-cw-logging` | EKS Logging Components | `["api", "audit", "authenticator", "controllerManager", "scheduler"]` | | ||
| `ec2-key-public-key` | EC2 Key Pair for bastion and nodes | `ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQD3F6tyPEFEzV0LX3X8BsXdMsQz1x2cEikKDEY0aIj41qgxMCP/iteneqXSIFZBp5vizPvaoIR3Um9xK7PGoW8giupGn+EPuxIA4cDM4vzOqOkiMPhz5XK0whEjkVzTo4+S0puvDZuwIsdiW9mxhJc7tgBNL0cYlWSYVkz4G/fslNfRPW5mYAM49f4fhtxPb5ok4Q2Lg9dPKVHO/Bgeu5woMc7RY0p1ej6D4CKFE6lymSDJpW0YHX/wqE9+cfEauh7xZcG0q9t2ta6F6fmX0agvpFyZo8aFbXeUBr7osSCJNgvavWbM/06niWrOvYX2xwWdhXmXSrbX8ZbabVohBK41 [email protected]` | | ||
|
||
> You can create a file called terraform.tfvars or copy [variables.tf](https://github.com/WesleyCharlesBlake/terraform-aws-eks/blob/master/variables.tf) into the project root, if you would like to over-ride the defaults. | ||
|