- yq on your host instance, go here to install
terraform applyYou can export the Kubeconfig file using this helper
$(terraform output -raw kubeconfig_command)kubectl cluster-info| Name | Version |
|---|---|
| terraform | >= 1.0 |
| aws | >=3.28.0 |
| Name | Version |
|---|---|
| aws | 3.63.0 |
| null | 3.1.0 |
| tls | 3.1.0 |
No modules.
| Name | Type |
|---|---|
| aws_eip.instance_elastic_ip | resource |
| aws_eip_association.minikube_eip_assoc | resource |
| aws_instance.minikube_instance | resource |
| aws_key_pair.aws_keypair | resource |
| aws_security_group.allow_additional_exposed_ports | resource |
| aws_security_group.allow_kube_api_server | resource |
| null_resource.download_kubeconfig | resource |
| tls_private_key.private_key | resource |
| aws_ami.ubuntu | data source |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| exposed_ports | Ports to expose from Minikube EC2 instance | list(object({ |
[ |
no |
| kubeconfig_output_location | KubeConfig file Location | string |
n/a | yes |
| minikube_instance_name | Minikube EC2 Instance name | string |
"minikube-on-ec2" |
no |
| region | AWS Region | string |
"eu-west-1" |
no |
| Name | Description |
|---|---|
| kubeconfig_command | Command that needs to be run in order for your kubectl to point to the minikube |
| minikube_public_ip | MiniKube instance public ip address |
Made with ❤️ by Think-iT
