mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-01-18 17:47:31 +01:00
refactor: Refactoring to match the rest of terraform-aws-modules (#1583)
This commit is contained in:
@@ -1,16 +1,19 @@
|
||||
module "node_groups" {
|
||||
source = "./modules/node_groups"
|
||||
create_eks = var.create_eks
|
||||
cluster_name = coalescelist(aws_eks_cluster.this[*].name, [""])[0]
|
||||
source = "./modules/node_groups"
|
||||
|
||||
create_eks = var.create_eks
|
||||
|
||||
cluster_name = local.cluster_name
|
||||
default_iam_role_arn = coalescelist(aws_iam_role.workers[*].arn, [""])[0]
|
||||
ebs_optimized_not_supported = local.ebs_optimized_not_supported
|
||||
workers_group_defaults = local.workers_group_defaults
|
||||
worker_security_group_id = local.worker_security_group_id
|
||||
worker_additional_security_group_ids = var.worker_additional_security_group_ids
|
||||
tags = var.tags
|
||||
timeouts = var.timeouts
|
||||
node_groups_defaults = var.node_groups_defaults
|
||||
node_groups = var.node_groups
|
||||
ebs_optimized_not_supported = local.ebs_optimized_not_supported
|
||||
|
||||
node_groups_defaults = var.node_groups_defaults
|
||||
node_groups = var.node_groups
|
||||
|
||||
tags = var.tags
|
||||
|
||||
# Hack to ensure ordering of resource creation.
|
||||
# This is a homemade `depends_on` https://discuss.hashicorp.com/t/tips-howto-implement-module-depends-on-emulation/2305/2
|
||||
|
||||
Reference in New Issue
Block a user