Skip to content

Instantly share code, notes, and snippets.

@yogesh174
Last active June 5, 2021 09:05
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/09d67f28b6be1ba52afbc0ede727ebc4 to your computer and use it in GitHub Desktop.
Save yogesh174/09d67f28b6be1ba52afbc0ede727ebc4 to your computer and use it in GitHub Desktop.
Multi-cloud K8s cluster with Terraform and Ansible
provider "aws" {
region = var.aws_region
shared_credentials_file = var.aws_credentials_path
profile = var.aws_credentials_profile
}
provider "google" {
project = var.gcp_project
region = var.gcp_region
credentials = var.gcp_credentials_path
}
provider "azurerm" {
features {}
}
terraform {
required_providers {
ansible = {
source = "nbering/ansible"
version = "1.0.4"
}
}
}
provider "ansible" {}
provider "null" {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment