Skip to content

A simple terraform module to deploy a Kubernetes cluster to the three major clouds plus Linode

Notifications You must be signed in to change notification settings

edwardtheharris/tf-aks-eks-gke-lke

Repository files navigation

abstract authors date title
A simple deployment of k8s clusters to various cloud providers.
Xander Harris
2024-03-04
Terraform AKS / EKS / GKE / LKE

AKS

Azure Kubernetes Service

A stub of this code has been added to the {file}aks folder.

You've got to set environment variables in TFC as described in this very helpful StackOverflow post.

ARM_CLIENT_ID=APPID
ARM_CLIENT_SECRET=APP_PASSWORD
ARM_SUBSCRIPTION_ID=SUB_ID
ARM_TENANT_ID=TENANT_ID

More information is available here.

EKS

A stub of this code has been added to the {file}eks folder.

Elastic Kubernetes Service

GKE

Google Kubernetes Engine

LKE

Linode Kubernetes Engine

Requirements

The following requirements are needed by this module:

  • aws (5.42.0)

  • azurerm (3.97.1)

  • google (5.22.0)

Providers

No providers.

Modules

The following Modules are called:

aks

Source: ./aks

Version:

eks

Source: ./eks

Version:

gke

Source: ./gke

Version:

Resources

No resources.

Required Inputs

The following input variables are required:

sp_client_id

Description: n/a

Type: string

sp_client_secret

Description: n/a

Type: string

Optional Inputs

The following input variables are optional (have default values):

AWS_ACCESS_KEY_ID

Description: Access key ID

Type: string

Default: ""

AWS_SECRET_ACCESS_KEY

Description: AWS secret access key

Type: string

Default: ""

aws_region

Description: The region in which the EKS cluster will be deployed.

Type: string

Default: "us-west-2"

cf_member

Description: Cloud Function invoker

Type: string

Default: ""

project_id

Description: Goole Cloud project ID

Type: string

Default: ""

region

Description: Google Cloud region

Type: string

Default: ""

Outputs

No outputs.

About

A simple terraform module to deploy a Kubernetes cluster to the three major clouds plus Linode

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published