From 293e1c12f6df482bf107d08f32cef36db7e413a8 Mon Sep 17 00:00:00 2001 From: vasubabu Date: Mon, 8 May 2023 20:20:15 +0530 Subject: [PATCH] Add provider meta module_name in Equinix Metal TF configs --- modules/bastion/versions.tf | 6 +++++- modules/node/versions.tf | 6 +++++- modules/sshkey/versions.tf | 6 +++++- versions.tf | 7 +++++-- 4 files changed, 20 insertions(+), 5 deletions(-) diff --git a/modules/bastion/versions.tf b/modules/bastion/versions.tf index b97be6b..2222baa 100644 --- a/modules/bastion/versions.tf +++ b/modules/bastion/versions.tf @@ -2,10 +2,14 @@ terraform { required_providers { equinix = { source = "equinix/equinix" + version = "~> 1.14" } null = { source = "hashicorp/null" } } - required_version = ">= 0.14" + required_version = ">= 1.0.0" + provider_meta "equinix" { + module_name = "equinix-metal-openshift-on-baremetal/bastion" + } } diff --git a/modules/node/versions.tf b/modules/node/versions.tf index 3b970cd..1c2c377 100644 --- a/modules/node/versions.tf +++ b/modules/node/versions.tf @@ -2,7 +2,11 @@ terraform { required_providers { equinix = { source = "equinix/equinix" + version = "~> 1.14" } } - required_version = ">= 0.14" + required_version = ">= 1.0.0" + provider_meta "equinix" { + module_name = "equinix-metal-openshift-on-baremetal/node" + } } diff --git a/modules/sshkey/versions.tf b/modules/sshkey/versions.tf index 223d07e..9384583 100644 --- a/modules/sshkey/versions.tf +++ b/modules/sshkey/versions.tf @@ -2,7 +2,11 @@ terraform { required_providers { equinix = { source = "equinix/equinix" + version = "~> 1.14" } } - required_version = ">= 0.13" + required_version = ">= 1.0.0" + provider_meta "equinix" { + module_name = "equinix-metal-openshift-on-baremetal/sshkey" + } } diff --git a/versions.tf b/versions.tf index c102da2..412364a 100644 --- a/versions.tf +++ b/versions.tf @@ -14,11 +14,14 @@ terraform { equinix = { source = "equinix/equinix" - version = "1.14.1" + version = "~> 1.14" } null = { source = "hashicorp/null" } } - required_version = ">= 1" + required_version = ">= 1.0.0" + provider_meta "equinix" { + module_name = "equinix-metal-openshift-on-baremetal" + } }