Skip to content

Instantly share code, notes, and snippets.

@yogesh174
Last active June 5, 2021 18:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yogesh174/b30ca8e7113c73ebe92221627d64f148 to your computer and use it in GitHub Desktop.
Save yogesh174/b30ca8e7113c73ebe92221627d64f148 to your computer and use it in GitHub Desktop.
Multi-cloud K8s cluster with Terraform and Ansible
###############################
######## Instance keys ########
###############################
variable "private_key_path" {
type = string
}
variable "public_key_path" {
type = string
}
##################################
######## K8s nodes config ########
##################################
variable "aws_nodes" {
type = number
default = 1
}
variable "azure_nodes" {
type = number
default = 1
}
variable "gcp_nodes" {
type = number
default = 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment