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:
parent
fd3c81d04d
commit
ecbbdd905e
|
@ -1,5 +1,5 @@
|
||||||
module "workers" {
|
module "workers" {
|
||||||
source = "workers"
|
source = "./workers"
|
||||||
name = "${var.cluster_name}"
|
name = "${var.cluster_name}"
|
||||||
|
|
||||||
# AWS
|
# AWS
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
module "workers" {
|
module "workers" {
|
||||||
source = "workers"
|
source = "./workers"
|
||||||
name = "${var.cluster_name}"
|
name = "${var.cluster_name}"
|
||||||
|
|
||||||
# AWS
|
# AWS
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
module "workers" {
|
module "workers" {
|
||||||
source = "workers"
|
source = "./workers"
|
||||||
name = "${var.cluster_name}"
|
name = "${var.cluster_name}"
|
||||||
|
|
||||||
# Azure
|
# Azure
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
module "workers" {
|
module "workers" {
|
||||||
source = "workers"
|
source = "./workers"
|
||||||
name = "${var.cluster_name}"
|
name = "${var.cluster_name}"
|
||||||
cluster_name = "${var.cluster_name}"
|
cluster_name = "${var.cluster_name}"
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
module "workers" {
|
module "workers" {
|
||||||
source = "workers"
|
source = "./workers"
|
||||||
name = "${var.cluster_name}"
|
name = "${var.cluster_name}"
|
||||||
cluster_name = "${var.cluster_name}"
|
cluster_name = "${var.cluster_name}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue