Skip to content

Instantly share code, notes, and snippets.

@yogesh174
Last active June 5, 2021 08:51
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/6374a2d87002d2ec640f1d6090c88f54 to your computer and use it in GitHub Desktop.
Save yogesh174/6374a2d87002d2ec640f1d6090c88f54 to your computer and use it in GitHub Desktop.
Multi-cloud K8s cluster with Terraform and Ansible
################################################
######## Create keypair for k8s cluster ########
################################################
resource "aws_key_pair" "terraform_k8s" {
key_name = var.key_name
public_key = file(var.public_key_path)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment