Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement EKS as separate description #180

Merged
merged 9 commits into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
147 changes: 21 additions & 126 deletions .terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 18 additions & 18 deletions k8s-eks-addons.tf
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
module "k8s_eks_addons" {
source = "./modules/k8s_eks_addons"
# module "k8s_eks_addons" {
# source = "./modules/k8s_eks_addons"

ingress_nginx_config = merge(var.ingress_nginx_config, { subnets_ids = local.public_subnets })
cluster_autoscaler_config = var.cluster_autoscaler_config
coredns_config = var.coredns_config
s3_csi_config = var.s3_csi_config
aws_load_balancer_controller_config = var.aws_load_balancer_controller_config
# ingress_nginx_config = merge(var.ingress_nginx_config, { subnets_ids = local.public_subnets })
# cluster_autoscaler_config = var.cluster_autoscaler_config
# coredns_config = var.coredns_config
# s3_csi_config = var.s3_csi_config
# aws_load_balancer_controller_config = var.aws_load_balancer_controller_config

addon_context = {
aws_caller_identity_account_id = data.aws_caller_identity.current.account_id
aws_partition_id = data.aws_partition.current.partition
aws_region_name = data.aws_region.current.name
eks_cluster_id = module.eks.eks_cluster_id
eks_cluster_version = module.eks.eks_cluster_version
eks_oidc_issuer_url = replace(module.eks.eks_oidc_issuer_url, "https://", "")
tags = var.tags
}
# addon_context = {
# aws_caller_identity_account_id = data.aws_caller_identity.current.account_id
# aws_partition_id = data.aws_partition.current.partition
# aws_region_name = data.aws_region.current.name
# eks_cluster_id = module.eks.eks_cluster_id
# eks_cluster_version = module.eks.eks_cluster_version
# eks_oidc_issuer_url = replace(module.eks.eks_oidc_issuer_url, "https://", "")
# tags = var.tags
# }

depends_on = [module.eks.eks_cluster_arn, module.vpc]
}
# depends_on = [module.eks.eks_cluster_arn, module.vpc]
# }
Loading
Loading