mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-01-15 16:23:58 +01:00
* adding 3 examples * removing old example * updating PR template * fix this typo * update after renaming default example * add missing launch_template_mixed stuff to aws_auth * fix 2 examples with public subnets * update changelog for new minor release
63 lines
1.3 KiB
HCL
63 lines
1.3 KiB
HCL
variable "region" {
|
|
default = "us-west-2"
|
|
}
|
|
|
|
variable "map_accounts" {
|
|
description = "Additional AWS account numbers to add to the aws-auth configmap."
|
|
type = "list"
|
|
|
|
default = [
|
|
"777777777777",
|
|
"888888888888",
|
|
]
|
|
}
|
|
|
|
variable "map_accounts_count" {
|
|
description = "The count of accounts in the map_accounts list."
|
|
type = "string"
|
|
default = 2
|
|
}
|
|
|
|
variable "map_roles" {
|
|
description = "Additional IAM roles to add to the aws-auth configmap."
|
|
type = "list"
|
|
|
|
default = [
|
|
{
|
|
role_arn = "arn:aws:iam::66666666666:role/role1"
|
|
username = "role1"
|
|
group = "system:masters"
|
|
},
|
|
]
|
|
}
|
|
|
|
variable "map_roles_count" {
|
|
description = "The count of roles in the map_roles list."
|
|
type = "string"
|
|
default = 1
|
|
}
|
|
|
|
variable "map_users" {
|
|
description = "Additional IAM users to add to the aws-auth configmap."
|
|
type = "list"
|
|
|
|
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"
|
|
},
|
|
]
|
|
}
|
|
|
|
variable "map_users_count" {
|
|
description = "The count of roles in the map_users list."
|
|
type = "string"
|
|
default = 2
|
|
}
|