Use ./ prefix for inner/local worker pool modules

* Terraform v0.11 encouraged use of a "./" prefix for local module references
and Terraform v0.12 will require it
* https://www.terraform.io/docs/modules/sources.html#local-paths

Related: https://github.com/hashicorp/terraform/issues/19745
This commit is contained in:
Jordan Pittier 2019-05-04 21:27:22 +02:00 committed by Dalton Hubble
parent fd3c81d04d
commit ecbbdd905e
5 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
module "workers" {
source = "workers"
source = "./workers"
name = "${var.cluster_name}"
# AWS

View File

@ -1,5 +1,5 @@
module "workers" {
source = "workers"
source = "./workers"
name = "${var.cluster_name}"
# AWS

View File

@ -1,5 +1,5 @@
module "workers" {
source = "workers"
source = "./workers"
name = "${var.cluster_name}"
# Azure

View File

@ -1,5 +1,5 @@
module "workers" {
source = "workers"
source = "./workers"
name = "${var.cluster_name}"
cluster_name = "${var.cluster_name}"

View File

@ -1,5 +1,5 @@
module "workers" {
source = "workers"
source = "./workers"
name = "${var.cluster_name}"
cluster_name = "${var.cluster_name}"