mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-04-19 15:21:18 +02:00
terraform fmt fix
This commit is contained in:
@@ -5,37 +5,40 @@ variable "region" {
|
|||||||
variable "map_accounts" {
|
variable "map_accounts" {
|
||||||
description = "Additional AWS account numbers to add to the aws-auth configmap."
|
description = "Additional AWS account numbers to add to the aws-auth configmap."
|
||||||
type = "list"
|
type = "list"
|
||||||
default = [
|
|
||||||
|
default = [
|
||||||
"777777777777",
|
"777777777777",
|
||||||
"888888888888"
|
"888888888888",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "map_roles" {
|
variable "map_roles" {
|
||||||
description = "Additional IAM roles to add to the aws-auth configmap."
|
description = "Additional IAM roles to add to the aws-auth configmap."
|
||||||
type = "list"
|
type = "list"
|
||||||
default = [
|
|
||||||
|
default = [
|
||||||
{
|
{
|
||||||
role_arn = "arn:aws:iam::66666666666:role/role1"
|
role_arn = "arn:aws:iam::66666666666:role/role1"
|
||||||
username = "role1"
|
username = "role1"
|
||||||
group = "system:masters"
|
group = "system:masters"
|
||||||
}
|
},
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "map_users" {
|
variable "map_users" {
|
||||||
description = "Additional IAM users to add to the aws-auth configmap."
|
description = "Additional IAM users to add to the aws-auth configmap."
|
||||||
type = "list"
|
type = "list"
|
||||||
default = [
|
|
||||||
|
default = [
|
||||||
{
|
{
|
||||||
user_arn = "arn:aws:iam::66666666666:user/user1"
|
user_arn = "arn:aws:iam::66666666666:user/user1"
|
||||||
username = "user1"
|
username = "user1"
|
||||||
group = "system:masters"
|
group = "system:masters"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
user_arn = "arn:aws:iam::66666666666:user/user2"
|
user_arn = "arn:aws:iam::66666666666:user/user2"
|
||||||
username = "user2"
|
username = "user2"
|
||||||
group = "system:masters"
|
group = "system:masters"
|
||||||
}
|
},
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user