Add module version requirements to internal workers modules

This commit is contained in:
Dalton Hubble 2018-03-03 14:39:25 -08:00
parent 73126eb7f8
commit cce4537487
3 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,9 @@
# Terraform version and plugin versions
terraform {
required_version = ">= 0.10.4"
}
provider "aws" {
version = "~> 1.7"
}

View File

@ -79,6 +79,10 @@ Create a cluster following the Google Cloud [tutorial](../google-cloud.md#cluste
module "yavin-worker-pool" { module "yavin-worker-pool" {
source = "git::https://github.com/poseidon/typhoon//google-cloud/container-linux/kubernetes/workers?ref=v1.9.4" source = "git::https://github.com/poseidon/typhoon//google-cloud/container-linux/kubernetes/workers?ref=v1.9.4"
providers = {
google = "google.default"
}
# Google Cloud # Google Cloud
region = "us-central1" region = "us-central1"
network = "${module.google-cloud-yavin.network_name}" network = "${module.google-cloud-yavin.network_name}"

View File

@ -0,0 +1,9 @@
# Terraform version and plugin versions
terraform {
required_version = ">= 0.10.4"
}
provider "google" {
version = "~> 1.2"
}