Skip to content

Latest commit

 

History

History
68 lines (57 loc) · 6.32 KB

README.md

File metadata and controls

68 lines (57 loc) · 6.32 KB

Requirements

Name Version
terraform ~> 1.3
aws ~> 4.0
talos 0.7.0-alpha.0

Providers

Name Version
aws 4.67.0
talos 0.7.0-alpha.0

Modules

Name Source Version
cluster_sg terraform-aws-modules/security-group/aws ~> 4.0
elb_k8s_elb terraform-aws-modules/elb/aws ~> 4.0
kubernetes_api_sg terraform-aws-modules/security-group/aws//modules/https-443 ~> 4.0
talos_control_plane_nodes terraform-aws-modules/ec2-instance/aws ~> 4.0
talos_worker_group terraform-aws-modules/ec2-instance/aws ~> 4.0
vpc terraform-aws-modules/vpc/aws ~> 3.0

Resources

Name Type
aws_iam_policy.control_plane_ccm_policy resource
aws_iam_policy.worker_ccm_policy resource
talos_cluster_kubeconfig.this resource
talos_machine_bootstrap.this resource
talos_machine_configuration_apply.controlplane resource
talos_machine_configuration_apply.worker_group resource
talos_machine_secrets.this resource
aws_ami.talos data source
aws_availability_zones.available data source
talos_client_configuration.this data source
talos_cluster_health.this data source
talos_machine_configuration.controlplane data source
talos_machine_configuration.worker_group data source

Inputs

Name Description Type Default Required
ccm Whether to deploy aws cloud controller manager bool false no
cluster_name Name of cluster string "talos-aws-example" no
config_patch_files Path to talos config path files that applies to all nodes list(string) [] no
control_plane Info for control plane that will be created
object({
instance_type = optional(string, "c5.large")
ami_id = optional(string, null)
num_instances = optional(number, 3)
config_patch_files = optional(list(string), [])
tags = optional(map(string), {})
})
{} no
extra_tags Extra tags to add to the cluster cloud resources map(string) {} no
kubernetes_api_allowed_cidr The CIDR from which to allow to access the Kubernetes API string "0.0.0.0/0" no
kubernetes_version Kubernetes version to use for the cluster, if not set the k8s version shipped with the talos sdk version will be used string null no
talos_api_allowed_cidr The CIDR from which to allow to access the Talos API string "0.0.0.0/0" no
talos_version_contract Talos API version to use for the cluster, if not set the the version shipped with the talos sdk version will be used string null no
vpc_cidr The IPv4 CIDR block for the VPC. string "172.16.0.0/16" no
worker_groups List of node worker node groups to create
list(object({
name = string
instance_type = optional(string, "c5.large")
ami_id = optional(string, null)
num_instances = optional(number, 1)
config_patch_files = optional(list(string), [])
tags = optional(map(string), {})
}))
[
{
"name": "default"
}
]
no

Outputs

Name Description
kubeconfig The generated kubeconfig.
talosconfig The generated talosconfig.