mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-30 06:01:50 +02:00
EKS 1.13 out (#400)
* Update to EKS 1.13 * Revert "Pin terraform version < 0.12" This reverts commit 4c71b12218378914c276715a85a61ac5aece9fa0. * Update providers in examples and format
This commit is contained in:
@@ -23,7 +23,7 @@ install:
|
|||||||
- bundle install
|
- bundle install
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- export TERRAFORM_VERSION=0.12.2
|
- export TERRAFORM_VERSION=$(curl -s https://checkpoint-api.hashicorp.com/v1/check/terraform | jq -r -M '.current_version')
|
||||||
- curl --silent --output terraform.zip "https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip"
|
- curl --silent --output terraform.zip "https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip"
|
||||||
- unzip terraform.zip ; rm -f terraform.zip; chmod +x terraform
|
- unzip terraform.zip ; rm -f terraform.zip; chmod +x terraform
|
||||||
- mkdir -p ${HOME}/bin ; export PATH=${PATH}:${HOME}/bin; mv terraform ${HOME}/bin/
|
- mkdir -p ${HOME}/bin ; export PATH=${PATH}:${HOME}/bin; mv terraform ${HOME}/bin/
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
- Update EBS optimized instances type (by @gloutsch)
|
- Update EBS optimized instances type (by @gloutsch)
|
||||||
- Added tagging for iam role created in `./cluster.tf` (@camilosantana)
|
- Added tagging for iam role created in `./cluster.tf` (@camilosantana)
|
||||||
- Enable log retention for cloudwatch log groups (by @yuriipolishchuk)
|
- Enable log retention for cloudwatch log groups (by @yuriipolishchuk)
|
||||||
|
- Update to EKS 1.13 (by @gloutsch)
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
|||||||
@@ -122,7 +122,7 @@ MIT Licensed. See [LICENSE](https://github.com/terraform-aws-modules/terraform-a
|
|||||||
| cluster\_log\_retention\_in\_days | Number of days to retain log events. Default retention - 90 days. | number | `"90"` | no |
|
| cluster\_log\_retention\_in\_days | Number of days to retain log events. Default retention - 90 days. | number | `"90"` | no |
|
||||||
| cluster\_name | Name of the EKS cluster. Also used as a prefix in names of related resources. | string | n/a | yes |
|
| cluster\_name | Name of the EKS cluster. Also used as a prefix in names of related resources. | string | n/a | yes |
|
||||||
| cluster\_security\_group\_id | If provided, the EKS cluster will be attached to this security group. If not given, a security group will be created with necessary ingres/egress to work with the workers and provide API access to your current IP/32. | string | `""` | no |
|
| cluster\_security\_group\_id | If provided, the EKS cluster will be attached to this security group. If not given, a security group will be created with necessary ingres/egress to work with the workers and provide API access to your current IP/32. | string | `""` | no |
|
||||||
| cluster\_version | Kubernetes version to use for the EKS cluster. | string | `"1.12"` | no |
|
| cluster\_version | Kubernetes version to use for the EKS cluster. | string | `"1.13"` | no |
|
||||||
| config\_output\_path | Where to save the Kubectl config file (if `write_kubeconfig = true`). Should end in a forward slash `/` . | string | `"./"` | no |
|
| config\_output\_path | Where to save the Kubectl config file (if `write_kubeconfig = true`). Should end in a forward slash `/` . | string | `"./"` | no |
|
||||||
| iam\_path | If provided, all IAM roles will be created on this path. | string | `"/"` | no |
|
| iam\_path | If provided, all IAM roles will be created on this path. | string | `"/"` | no |
|
||||||
| kubeconfig\_aws\_authenticator\_additional\_args | Any additional arguments to pass to the authenticator such as the role to assume. e.g. ["-r", "MyEksRole"]. | list(string) | `[]` | no |
|
| kubeconfig\_aws\_authenticator\_additional\_args | Any additional arguments to pass to the authenticator such as the role to assume. e.g. ["-r", "MyEksRole"]. | list(string) | `[]` | no |
|
||||||
|
|||||||
@@ -11,6 +11,18 @@ provider "random" {
|
|||||||
version = "~> 2.1"
|
version = "~> 2.1"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
provider "local" {
|
||||||
|
version = "~> 1.2"
|
||||||
|
}
|
||||||
|
|
||||||
|
provider "null" {
|
||||||
|
version = "~> 2.1"
|
||||||
|
}
|
||||||
|
|
||||||
|
provider "template" {
|
||||||
|
version = "~> 2.1"
|
||||||
|
}
|
||||||
|
|
||||||
data "aws_availability_zones" "available" {
|
data "aws_availability_zones" "available" {
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -131,4 +143,3 @@ module "eks" {
|
|||||||
map_users = var.map_users
|
map_users = var.map_users
|
||||||
map_accounts = var.map_accounts
|
map_accounts = var.map_accounts
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -11,6 +11,18 @@ provider "random" {
|
|||||||
version = "~> 2.1"
|
version = "~> 2.1"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
provider "local" {
|
||||||
|
version = "~> 1.2"
|
||||||
|
}
|
||||||
|
|
||||||
|
provider "null" {
|
||||||
|
version = "~> 2.1"
|
||||||
|
}
|
||||||
|
|
||||||
|
provider "template" {
|
||||||
|
version = "~> 2.1"
|
||||||
|
}
|
||||||
|
|
||||||
data "aws_availability_zones" "available" {
|
data "aws_availability_zones" "available" {
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -58,4 +70,3 @@ module "eks" {
|
|||||||
},
|
},
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -11,6 +11,18 @@ provider "random" {
|
|||||||
version = "~> 2.1"
|
version = "~> 2.1"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
provider "local" {
|
||||||
|
version = "~> 1.2"
|
||||||
|
}
|
||||||
|
|
||||||
|
provider "null" {
|
||||||
|
version = "~> 2.1"
|
||||||
|
}
|
||||||
|
|
||||||
|
provider "template" {
|
||||||
|
version = "~> 2.1"
|
||||||
|
}
|
||||||
|
|
||||||
data "aws_availability_zones" "available" {
|
data "aws_availability_zones" "available" {
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -55,4 +67,3 @@ module "eks" {
|
|||||||
},
|
},
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ variable "cluster_security_group_id" {
|
|||||||
variable "cluster_version" {
|
variable "cluster_version" {
|
||||||
description = "Kubernetes version to use for the EKS cluster."
|
description = "Kubernetes version to use for the EKS cluster."
|
||||||
type = string
|
type = string
|
||||||
default = "1.12"
|
default = "1.13"
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "config_output_path" {
|
variable "config_output_path" {
|
||||||
@@ -239,4 +239,3 @@ variable "manage_worker_iam_resources" {
|
|||||||
type = bool
|
type = bool
|
||||||
default = true
|
default = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user