mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-01-15 16:23:58 +01:00
* run terraform upgrade tool * fix post upgrade TODOs * use strict typing for variables * upgrade examples, point them at VPC module tf 0.12 PR * remove unnecessary `coalesce()` calls coalesce(lookup(map, key, ""), default) -> lookup(map, key, default) * Fix autoscaling_enabled broken (#1) * always set a value for tags, fix coalescelist calls * always set a value for these tags * fix tag value * fix tag value * default element available * added default value * added a general default without this default - TF is throwing an error when running a destroy * Fix CI * Change vpc module back to `terraform-aws-modules/vpc/aws` in example * Update CHANGELOG.md * Change type of variable `cluster_log_retention_in_days` to number * Remove `xx_count` variables * Actual lists instead of strings with commas * Remove `xx_count` variable from docs * Replace element with list indexing * Change variable `worker_group_tags` to a attribute of worker_group * Fix workers_launch_template_mixed tags * Change override_instance_type_x variables to list. * Update CHANGELOG.md
45 lines
931 B
HCL
45 lines
931 B
HCL
variable "region" {
|
|
default = "us-west-2"
|
|
}
|
|
|
|
variable "map_accounts" {
|
|
description = "Additional AWS account numbers to add to the aws-auth configmap."
|
|
type = list(string)
|
|
|
|
default = [
|
|
"777777777777",
|
|
"888888888888",
|
|
]
|
|
}
|
|
|
|
variable "map_roles" {
|
|
description = "Additional IAM roles to add to the aws-auth configmap."
|
|
type = list(map(string))
|
|
|
|
default = [
|
|
{
|
|
role_arn = "arn:aws:iam::66666666666:role/role1"
|
|
username = "role1"
|
|
group = "system:masters"
|
|
},
|
|
]
|
|
}
|
|
|
|
variable "map_users" {
|
|
description = "Additional IAM users to add to the aws-auth configmap."
|
|
type = list(map(string))
|
|
|
|
default = [
|
|
{
|
|
user_arn = "arn:aws:iam::66666666666:user/user1"
|
|
username = "user1"
|
|
group = "system:masters"
|
|
},
|
|
{
|
|
user_arn = "arn:aws:iam::66666666666:user/user2"
|
|
username = "user2"
|
|
group = "system:masters"
|
|
},
|
|
]
|
|
}
|