mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-12-03 05:44:08 +01:00
terraform fmt fix
This commit is contained in:
1 parent
bb9e241021
commit
e4263868e8
1 file changed
+12
-9
@@ -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