Terraform module to provision an AWS AutoScaling Group, IAM Role, and Security Group for EKS Workers
APACHE-2.0 License
Bot releases are hidden (Show)
Published by nitrocode about 2 years ago
Full Changelog: https://github.com/cloudposse/terraform-aws-eks-workers/compare/1.0.0-rc1...1.0.0-rc2
kubelet_extra_args
to allow passing extra arguments to kubelet
bootstrap_extra_args
to allow passing extra arguments to bootstrap.sh
autoscaling_group_tags
to allow passing tags only to the Auto Scaling Group that will not be applied elsewhere.Published by maximmi over 4 years ago
Published by maximmi over 4 years ago
block_duration_minutes
to use correct typeblock_duration_minutes
should be a number. See https://www.terraform.io/docs/providers/aws/r/launch_template.html#block_duration_minutes
Published by aknysh almost 5 years ago
bootstrap.sh
, the bootstrap could not complete when we pass extra kubelet args as an argument, and thus node won't join to the kubernetes cluster. Passing extra kubelet args via KUBELET_EXTRA_ARGS solves thisPublished by aknysh about 5 years ago
userdata
to execute on each worker node before and after joining the EKS clusterPublished by aknysh about 5 years ago
var.cluster_security_group_ingress_enabled
To fix count can't be computed
error
To be able to use this module in standalone tests and with terraform-aws-eks-cluster
module:
terraform-aws-eks-cluster
module, the condition var.enabled && var.cluster_security_group_id != ""
in count
throws count can't be computed
errorterraform-aws-eks-cluster
module is not present and we don't have var.cluster_security_group_id
defined, so we need to disable resource "aws_security_group_rule" "ingress_cluster"
when testingPublished by aknysh about 5 years ago
bats
and terratest
for the exampleterraform-modules
projectworker_role_arn
to workers_role_arn
worker_role_name
to workers_role_name
terraform-modules
project contains pipelines for all terraform modulesPublished by aknysh about 5 years ago
Published by aknysh about 5 years ago
workers_role_policy_arns_count
count cannot be computed
when the module is used from top-level modulesPublished by aknysh about 5 years ago
Published by aknysh over 5 years ago
most_recent
attributePublished by aknysh over 5 years ago
worker_role_name
outputworker_role_name
can be used for attaching additional policy to existing worker rolePublished by aknysh over 5 years ago
use_custom_image_id
variableimage_id
should be used, or the module should lookup the EKS worker AMIcount cannot be computed
errors when this modules is used with other modules (e.g. a modules to create a custom AMI and then use it in the image_id
variable)Published by aknysh over 5 years ago
eks_worker_ami_name_filter
variableeks_worker_ami_name_regex
variablePublished by aknysh over 5 years ago
Published by aknysh over 5 years ago
splat+join
for resources with counts
splat+join