Skip to content

klaus385/terraform-rancher-workload-cluster

 
 

Repository files navigation

Requirements

Name Version
terraform >= 0.12
terraform >= 0.13

Providers

Name Version
aws n/a
rancher2 n/a

Modules

No modules.

Resources

Name Type
aws_autoscaling_group.master resource
aws_autoscaling_group.worker resource
aws_iam_access_key.etcd_backup_user resource
aws_iam_instance_profile.cloud_provider_master resource
aws_iam_instance_profile.cloud_provider_worker resource
aws_iam_role.cloud_provider_master resource
aws_iam_role.cloud_provider_worker resource
aws_iam_role_policy.cloud_provider_master resource
aws_iam_role_policy.cloud_provider_worker resource
aws_iam_user.etcd_backup_user resource
aws_iam_user_policy.etcd_backup_user resource
aws_launch_template.master resource
aws_launch_template.worker resource
aws_s3_bucket.etcd_backups resource
aws_s3_bucket_public_access_block.etcd_backups resource
aws_security_group.cluster resource
aws_security_group_rule.cluster_all_self resource
aws_security_group_rule.cluster_egress_all resource
aws_security_group_rule.cluster_ingress_http resource
aws_security_group_rule.cluster_ingress_https resource
rancher2_cluster.cluster resource
rancher2_cluster_role_template_binding.deploy resource
rancher2_cluster_sync.cluster resource
aws_ami.ubuntu data source

Inputs

Name Description Type Default Required
aws_region Region to deploy AWS resources in string "us-east-1" no
backup_interval_hours Interval between etcd backups number 6 no
backup_retention Number of etcd backups to retain number 12 no
cloud_provider_name RKE Cloud Provider name to enable string "aws" no
cluster_cidr Cidr to use for overlay network string null no
cluster_description Description of K8S clusters for Rancher string "Terraform managed RKE cluster" no
cluster_dns_server IP for cluster dns service. Should be within service_cluster_ip_range string null no
deploy_user_enabled Define whether to give permissions for a deploy user bool true no
drain_delete_local_data Delete local data while draining bool false no
drain_force Force the drain of RKE Nodes bool false no
drain_timeout Node drain timeout number 60 no
extra_master_security_groups A list of extra security groups to assign to master nodes list(string) [] no
extra_worker_security_groups A list of extra security groups to assign to worker nodes list(string) [] no
ingress_provider Provider for ingress. Either 'nginx' or 'none' string null no
kube_api_extra_args extra_args for kube-api map(any) null no
kube_controller_extra_args extra_args for kube-controller map(any) null no
kubelet_extra_args extra_args for kubelet map(any) null no
kubernetes_version Version of Kubernetes to install string "v1.17.0-rancher1-2"<