Two single-node Kubernetes clusters will be created from two EC2 instances running SLES 15 and Docker.
Both instances will have wide-open security groups and will be accessible over SSH using the SSH keys
id_rsa
and id_rsa.pub
.
Name | Version |
---|---|
terraform | >= 1.0.0 |
aws | 5.1.0 |
local | 2.4.0 |
tls | 4.0.4 |
Name | Version |
---|---|
aws | 5.1.0 |
local | 2.4.0 |
tls | 4.0.4 |
Name | Source | Version |
---|---|---|
rancher_common | ../rancher-common | n/a |
Name | Type |
---|---|
aws_instance.quickstart_node | resource |
aws_instance.quickstart_node_win | resource |
aws_instance.rancher_server | resource |
aws_internet_gateway.rancher_gateway | resource |
aws_key_pair.quickstart_key_pair | resource |
aws_route_table.rancher_route_table | resource |
aws_route_table_association.rancher_route_table_association | resource |
aws_security_group.rancher_sg_allowall | resource |
aws_subnet.rancher_subnet | resource |
aws_vpc.rancher_vpc | resource |
local_file.ssh_public_key_openssh | resource |
local_sensitive_file.ssh_private_key_pem | resource |
tls_private_key.global_key | resource |
aws_ami.sles | data source |
aws_ami.windows | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
aws_access_key | AWS access key used to create infrastructure | string |
n/a | yes |
aws_secret_key | AWS secret key used to create AWS infrastructure | string |
n/a | yes |
rancher_server_admin_password | Admin password to use for Rancher server bootstrap, min. 12 characters | string |
n/a | yes |
add_windows_node | Add a windows node to the workload cluster | bool |
false |
no |
aws_region | AWS region used for all resources | string |
"us-east-1" |
no |
aws_session_token | AWS session token used to create AWS infrastructure | string |
"" |
no |
aws_zone | AWS zone used for all resources | string |
"us-east-1b" |
no |
cert_manager_version | Version of cert-manager to install alongside Rancher (format: 0.0.0) | string |
"1.11.0" |
no |
instance_type | Instance type used for all EC2 instances | string |
"t3a.medium" |
no |
prefix | Prefix added to names of all resources | string |
"quickstart" |
no |
rancher_helm_repository | The helm repository, where the Rancher helm chart is installed from | string |
"https://releases.rancher.com/server-charts/latest" |
no |
rancher_kubernetes_version | Kubernetes version to use for Rancher server cluster | string |
"v1.24.14+k3s1" |
no |
rancher_version | Rancher server version (format: v0.0.0) | string |
"2.7.9" |
no |
windows_instance_type | Instance type used for all EC2 windows instances | string |
"t3a.large" |
no |
workload_kubernetes_version | Kubernetes version to use for managed workload cluster | string |
"v1.24.14+rke2r1" |
no |
Name | Description |
---|---|
rancher_node_ip | n/a |
rancher_server_url | n/a |
windows-workload-ips | n/a |
windows_password | Returns the decrypted AWS generated windows password |
workload_node_ip | n/a |