Revert "Add module version requirements to internal workers modules"
* This reverts commit cce4537487
.
* Provider passing to child modules is complex and the behavior
changed between Terraform v0.10 and v0.11. We're continuing to
allow both versions so this change should be reverted. For the
time being, those using our internal Terraform modules will have
to be aware of the minimum version for AWS and GCP providers,
there is no good way to do enforcement.
This commit is contained in:
parent
cce4537487
commit
da6aafe816
|
@ -1,9 +0,0 @@
|
||||||
# Terraform version and plugin versions
|
|
||||||
|
|
||||||
terraform {
|
|
||||||
required_version = ">= 0.10.4"
|
|
||||||
}
|
|
||||||
|
|
||||||
provider "aws" {
|
|
||||||
version = "~> 1.7"
|
|
||||||
}
|
|
|
@ -79,10 +79,6 @@ 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}"
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
# Terraform version and plugin versions
|
|
||||||
|
|
||||||
terraform {
|
|
||||||
required_version = ">= 0.10.4"
|
|
||||||
}
|
|
||||||
|
|
||||||
provider "google" {
|
|
||||||
version = "~> 1.2"
|
|
||||||
}
|
|
Loading…
Reference in New Issue