-
Notifications
You must be signed in to change notification settings - Fork 2
/
bootstrap.tf
23 lines (23 loc) · 1.21 KB
/
bootstrap.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
module "bootstrap" {
count = var.is_create_bootstrap ? 1 : 0
source = "./modules/bootstrap"
subnet_id = var.subnets_ids[0]
cluster_name = aws_eks_cluster.this.name
ami = var.bootstrap_ami
aws_account = var.aws_account
karpenter_node_role_arns = var.karpenter_node_role_arns
admin_role_arns = var.admin_role_arns
admin_iam_arns = var.admin_iam_arns
dev_role_arns = var.dev_role_arns
readonly_role_arns = var.readonly_role_arns
additional_map_roles = var.additional_map_roles
additional_cluster_role = var.additional_cluster_role
additional_cluster_role_binding = var.additional_cluster_role_binding
node_group_role_arn = aws_iam_role.node_group_role.arn
vpc_id = var.vpc_id
is_config_aws_auth = var.is_config_aws_auth
prefix = var.prefix
environment = var.environment
kms_key_id = var.bootstrap_kms_key_id
tags = var.tags
}