Repository: kubernetes-sigs/provider-ibmcloud-test-infra
Pull request #12: script to setup terraform on power/x86
Author: login: Prajyot-Parab
Labels: name: size/M
description: Denotes a PR that changes 30-99 lines, ignoring generated files.
name: approved
description: Indicates a PR has been approved by an approver from all required OWNERS files.
name: cncf-cla: yes
description: Indicates the PR's author has signed the CNCF CLA.
name: lgtm
description: "Looks good to me", indicates that a PR is ready to be merged.
Created: 2025-03-20T06:13:02Z | Merged: 2025-03-25T18:38:33Z

- install terraform on power/x86
- build ibm and null provider plugins for power


Diff:
diff --git a/Makefile b/Makefile
index a8f300df..1601a3ee 100644
--- a/Makefile
+++ b/Makefile
@@ -1,2 +1,3 @@
 install-deployer-tf:
-	$(MAKE) -C kubetest2-tf/
+	$(MAKE) -C kubetest2-tf/ install-deployer-tf
+	
diff --git a/kubetest2-tf/Makefile b/kubetest2-tf/Makefile
index 8e3ef363..4288a902 100644
--- a/kubetest2-tf/Makefile
+++ b/kubetest2-tf/Makefile
@@ -15,7 +15,11 @@ BINARY_NAME=kubetest2-tf
 BUILD_FLAGS=-trimpath -ldflags="-buildid= -X=sigs.k8s.io/provider-ibmcloud-test-infra/kubetest2-tf/deployer/deployer.GitTag=$(COMMIT)"
 # ==============================================================================
 
-install-deployer-tf:
+setup-tf:
+	./hack/terraform_install.sh
+.PHONY: setup-tf
+
+install-deployer-tf: setup-tf
 	go build $(BUILD_FLAGS) -o $(OUT_DIR)/$(BINARY_NAME) .
 	$(INSTALL) -d $(INSTALL_DIR)
 	$(INSTALL) $(OUT_DIR)/$(BINARY_NAME) $(INSTALL_DIR)/$(BINARY_NAME)
diff --git a/kubetest2-tf/hack/terraform_install.sh b/kubetest2-tf/hack/terraform_install.sh
new file mode 100755
index 00000000..68e2e494
--- /dev/null
+++ b/kubetest2-tf/hack/terraform_install.sh
@@ -0,0 +1,88 @@
+#!/bin/bash
+
+# Copyright 2025 The Kubernetes Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+set -o errexit
+set -o nounset
+set -o pipefail
+
+TF_VERSION="1.9.8"
+TERRAFORM_PROVIDER_IBM_VERSION="1.73.0"
+TERRAFORM_PROVIDER_NULL_VERSION="3.2.3"
+TF_PLUGIN_PATH="$HOME/.terraform.d/plugins/registry.terraform.io"
+
+install_terraform_power(){
+    if [[ ! -z $(command -v terraform) ]]; then
+        echo "terraform already present"
+    else
+        cd /tmp
+        curl -fsSL https://github.com/hashicorp/terraform/archive/refs/tags/v${TF_VERSION}.zip -o ./terraform.zip
+        unzip -o ./terraform.zip  >/dev/null 2>&1
+        rm -f ./terraform.zip
+        cd terraform-${TF_VERSION}
+        go build .
+        cp terraform /usr/local/bin/
+    fi
+}
+
+install_terraform_x86(){
+    if [[ ! -z $(command -v terraform) ]]; then
+        echo "terraform already present"
+    else
+        cd /tmp
+        curl -fsSL https://releases.hashicorp.com/terraform/${TF_VERSION}/terraform_${TF_VERSION}_linux_amd64.zip -o ./terraform.zip
+        unzip -o ./terraform.zip  >/dev/null 2>&1
+        rm -f ./terraform.zip
+        cp terraform /usr/local/bin/
+    fi
+}
+
+build_ibm_provider(){
+    if [[ ! -f "${TF_PLUGIN_PATH}/IBM-Cloud/ibm/v${TERRAFORM_PROVIDER_IBM_VERSION}/linux_ppc64le/terraform-provider-ibm" || ! -f "${TF_PLUGIN_PATH}/hashicorp/ibm/v${TERRAFORM_PROVIDER_IBM_VERSION}/linux_ppc64le/terraform-provider-ibm" ]]; then
+        cd /tmp
+        curl -fsSL https://github.com/IBM-Cloud/terraform-provider-ibm/archive/refs/tags/v${TERRAFORM_PROVIDER_IBM_VERSION}.zip -o ./terraform-provider-ibm.zip
+        unzip -o ./terraform-provider-ibm.zip  >/dev/null 2>&1
+        rm -f ./terraform-provider-ibm.zip
+        cd terraform-provider-ibm-${TERRAFORM_PROVIDER_IBM_VERSION}
+        go build .
+        mkdir -p ${TF_PLUGIN_PATH}/hashicorp/ibm/v${TERRAFORM_PROVIDER_IBM_VERSION}/linux_`go env GOARCH`
+        cp -f terraform-provider-ibm ${TF_PLUGIN_PATH}/hashicorp/ibm/v${TERRAFORM_PROVIDER_IBM_VERSION}/linux_`go env GOARCH`
+        mkdir -p ${TF_PLUGIN_PATH}/IBM-Cloud/ibm/v${TERRAFORM_PROVIDER_IBM_VERSION}/linux_`go env GOARCH`
+        cp -f terraform-provider-ibm ${TF_PLUGIN_PATH}/IBM-Cloud/ibm/v${TERRAFORM_PROVIDER_IBM_VERSION}/linux_`go env GOARCH`
+    fi
+}
+
+build_null_provider(){
+    if [ ! -f "${TF_PLUGIN_PATH}/hashicorp/null/v${TERRAFORM_PROVIDER_NULL_VERSION}/linux_ppc64le/terraform-provider-null" ]; then
+        cd /tmp
+        curl -fsSL https://github.com/hashicorp/terraform-provider-null/archive/refs/tags/v${TERRAFORM_PROVIDER_NULL_VERSION}.zip -o ./terraform-provider-null.zip
+        unzip -o ./terraform-provider-null.zip  >/dev/null 2>&1
+        rm -f ./terraform-provider-null.zip
+        cd terraform-provider-null-${TERRAFORM_PROVIDER_NULL_VERSION}
+        go build .
+        mkdir -p ${TF_PLUGIN_PATH}/hashicorp/null/v${TERRAFORM_PROVIDER_NULL_VERSION}/linux_`go env GOARCH`
+        cp terraform-provider-null ${TF_PLUGIN_PATH}/hashicorp/null/v${TERRAFORM_PROVIDER_NULL_VERSION}/linux_`go env GOARCH`
+    fi
+}
+
+ARCH=$(uname -m)
+
+if [[ "${ARCH}" == "ppc64le" ]]; then
+    install_terraform_power
+    build_ibm_provider
+    build_null_provider
+elif [[ "${ARCH}" == "x86_64" ]]; then
+    install_terraform_x86
+fi


Reviews:
user: login: mkumatag
state: CHANGES_REQUESTED
author_association: MEMBER
submitted_at: 2025-03-20T07:11:41Z
user: login: Prajyot-Parab
state: COMMENTED
author_association: MEMBER
submitted_at: 2025-03-20T19:48:14Z
user: login: Prajyot-Parab
state: COMMENTED
author_association: MEMBER
submitted_at: 2025-03-20T19:48:20Z
user: login: Prajyot-Parab
state: COMMENTED
author_association: MEMBER
submitted_at: 2025-03-20T19:48:27Z
user: login: Prajyot-Parab
state: COMMENTED
author_association: MEMBER
submitted_at: 2025-03-20T19:48:39Z
user: login: mkumatag
state: CHANGES_REQUESTED
author_association: MEMBER
submitted_at: 2025-03-21T03:50:58Z
user: login: Prajyot-Parab
state: COMMENTED
author_association: MEMBER
submitted_at: 2025-03-21T09:45:47Z
user: login: mkumatag
body: /lgtm
state: APPROVED
author_association: MEMBER
submitted_at: 2025-03-25T18:36:40Z

Review comments:
diff_hunk: @@ -15,7 +15,11 @@ BINARY_NAME=kubetest2-tf
 BUILD_FLAGS=-trimpath -ldflags="-buildid= -X=sigs.k8s.io/provider-ibmcloud-test-infra/kubetest2-tf/deployer/deployer.GitTag=$(COMMIT)"
 # ==============================================================================
 
-install-deployer-tf:
+pre-deploy:
path: kubetest2-tf/Makefile
user: login: mkumatag
body: ```suggestion
setup-tf:
```
created_at: 2025-03-20T06:58:59Z
author_association: MEMBER
diff_hunk: @@ -0,0 +1,88 @@
+#!/bin/bash
+
+# Copyright 2025 The Kubernetes Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+TF_VERSION="v1.9.8"
+TERRAFORM_PROVIDER_IBM_VERSION="v1.73.0"
+TERRAFORM_PROVIDER_NULL_VERSION="v3.2.3"
+TF_PLUGIN_PATH=/root/.terraform.d/plugins/registry.terraform.io
path: kubetest2-tf/hack/terraform_install.sh
user: login: mkumatag
body: this will be tricky, I'm not sure how this behaves when you are you running this in a non-root environment!
created_at: 2025-03-20T06:59:50Z
author_association: MEMBER
diff_hunk: @@ -0,0 +1,88 @@
+#!/bin/bash
+
+# Copyright 2025 The Kubernetes Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+TF_VERSION="v1.9.8"
+TERRAFORM_PROVIDER_IBM_VERSION="v1.73.0"
+TERRAFORM_PROVIDER_NULL_VERSION="v3.2.3"
+TF_PLUGIN_PATH=/root/.terraform.d/plugins/registry.terraform.io
+
+install_terraform_power(){
+    if [ -f "/go/bin/terraform" ]; then
path: kubetest2-tf/hack/terraform_install.sh
user: login: mkumatag
body: we need to check in the current path, if you are expecting to be in GOPATH/bin, then set the path to that directory and then check for the terraform in the path.

may be something like:
```
if command -v terraform &> /dev/null
then
    echo "Terraform is installed."
    terraform version
else
    echo "Terraform is NOT installed."
    echo "install it"
fi
```
created_at: 2025-03-20T07:02:43Z
author_association: MEMBER
diff_hunk: @@ -0,0 +1,88 @@
+#!/bin/bash
+
+# Copyright 2025 The Kubernetes Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+TF_VERSION="v1.9.8"
+TERRAFORM_PROVIDER_IBM_VERSION="v1.73.0"
+TERRAFORM_PROVIDER_NULL_VERSION="v3.2.3"
+TF_PLUGIN_PATH=/root/.terraform.d/plugins/registry.terraform.io
+
+install_terraform_power(){
+    if [ -f "/go/bin/terraform" ]; then
+        echo "terraform already present"
+    else
+        cd /tmp
+        git clone -b $TF_VERSION --single-branch https://github.com/hashicorp/terraform.git
path: kubetest2-tf/hack/terraform_install.sh
user: login: mkumatag
body: use curl to pull the tagged version from the git repo
created_at: 2025-03-20T07:05:47Z
author_association: MEMBER
diff_hunk: @@ -0,0 +1,88 @@
+#!/bin/bash
+
+# Copyright 2025 The Kubernetes Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+TF_VERSION="v1.9.8"
+TERRAFORM_PROVIDER_IBM_VERSION="v1.73.0"
+TERRAFORM_PROVIDER_NULL_VERSION="v3.2.3"
+TF_PLUGIN_PATH=/root/.terraform.d/plugins/registry.terraform.io
+
+install_terraform_power(){
+    if [ -f "/go/bin/terraform" ]; then
+        echo "terraform already present"
+    else
+        cd /tmp
+        git clone -b $TF_VERSION --single-branch https://github.com/hashicorp/terraform.git
path: kubetest2-tf/hack/terraform_install.sh
user: login: mkumatag
body: this applies to other plugins as well.
created_at: 2025-03-20T07:08:45Z
author_association: MEMBER
diff_hunk: @@ -0,0 +1,88 @@
+#!/bin/bash
+
+# Copyright 2025 The Kubernetes Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+TF_VERSION="v1.9.8"
+TERRAFORM_PROVIDER_IBM_VERSION="v1.73.0"
+TERRAFORM_PROVIDER_NULL_VERSION="v3.2.3"
+TF_PLUGIN_PATH=/root/.terraform.d/plugins/registry.terraform.io
+
+install_terraform_power(){
+    if [ -f "/go/bin/terraform" ]; then
+        echo "terraform already present"
+    else
+        cd /tmp
+        git clone -b $TF_VERSION --single-branch https://github.com/hashicorp/terraform.git
+        cd terraform
+        go install .
+    fi
+}
+
+install_terraform_x86(){
+    cd /tmp
+    if [ -f "/usr/local/bin/terraform" ]; then
+        echo "terraform already present"
+    else
+        curl -fsSL https://releases.hashicorp.com/terraform/${TF_VERSION:1}/terraform_${TF_VERSION:1}_linux_amd64.zip -o ./terraform.zip
+        unzip -o ./terraform.zip  >/dev/null 2>&1
+        rm -f ./terraform.zip
+        cp terraform /usr/local/bin/
+    fi
+}
+
+build_ibm_provider(){
+    if [[ ! -f "${TF_PLUGIN_PATH}/IBM-Cloud/ibm/${TERRAFORM_PROVIDER_IBM_VERSION}/linux_ppc64le/terraform-provider-ibm" || ! -f "${TF_PLUGIN_PATH}/hashicorp/ibm/${TERRAFORM_PROVIDER_IBM_VERSION}/linux_ppc64le/terraform-provider-ibm" ]]; then
+        cd /tmp
+        git clone -b ${TERRAFORM_PROVIDER_IBM_VERSION} --single-branch https://github.com/IBM-Cloud/terraform-provider-ibm
+        cd terraform-provider-ibm
+        go build .
+    fi
+}
+
+build_null_provider(){
+    if [ ! -f "${TF_PLUGIN_PATH}/hashicorp/null/${TERRAFORM_PROVIDER_NULL_VERSION}/linux_ppc64le/terraform-provider-null" ]; then
path: kubetest2-tf/hack/terraform_install.sh
user: login: mkumatag
body: move build and setup in one block to avoid unwanted checks.
created_at: 2025-03-20T07:11:19Z
author_association: MEMBER
diff_hunk: @@ -0,0 +1,88 @@
+#!/bin/bash
+
+# Copyright 2025 The Kubernetes Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+TF_VERSION="v1.9.8"
+TERRAFORM_PROVIDER_IBM_VERSION="v1.73.0"
+TERRAFORM_PROVIDER_NULL_VERSION="v3.2.3"
+TF_PLUGIN_PATH=/root/.terraform.d/plugins/registry.terraform.io
+
+install_terraform_power(){
+    if [ -f "/go/bin/terraform" ]; then
path: kubetest2-tf/hack/terraform_install.sh
user: login: Prajyot-Parab
body: Fixed.
created_at: 2025-03-20T19:48:13Z
author_association: MEMBER
diff_hunk: @@ -0,0 +1,88 @@
+#!/bin/bash
+
+# Copyright 2025 The Kubernetes Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+TF_VERSION="v1.9.8"
+TERRAFORM_PROVIDER_IBM_VERSION="v1.73.0"
+TERRAFORM_PROVIDER_NULL_VERSION="v3.2.3"
+TF_PLUGIN_PATH=/root/.terraform.d/plugins/registry.terraform.io
+
+install_terraform_power(){
+    if [ -f "/go/bin/terraform" ]; then
+        echo "terraform already present"
+    else
+        cd /tmp
+        git clone -b $TF_VERSION --single-branch https://github.com/hashicorp/terraform.git
path: kubetest2-tf/hack/terraform_install.sh
user: login: Prajyot-Parab
body: Fixed.
created_at: 2025-03-20T19:48:20Z
author_association: MEMBER
diff_hunk: @@ -0,0 +1,88 @@
+#!/bin/bash
+
+# Copyright 2025 The Kubernetes Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+TF_VERSION="v1.9.8"
+TERRAFORM_PROVIDER_IBM_VERSION="v1.73.0"
+TERRAFORM_PROVIDER_NULL_VERSION="v3.2.3"
+TF_PLUGIN_PATH=/root/.terraform.d/plugins/registry.terraform.io
+
+install_terraform_power(){
+    if [ -f "/go/bin/terraform" ]; then
+        echo "terraform already present"
+    else
+        cd /tmp
+        git clone -b $TF_VERSION --single-branch https://github.com/hashicorp/terraform.git
+        cd terraform
+        go install .
+    fi
+}
+
+install_terraform_x86(){
+    cd /tmp
+    if [ -f "/usr/local/bin/terraform" ]; then
+        echo "terraform already present"
+    else
+        curl -fsSL https://releases.hashicorp.com/terraform/${TF_VERSION:1}/terraform_${TF_VERSION:1}_linux_amd64.zip -o ./terraform.zip
+        unzip -o ./terraform.zip  >/dev/null 2>&1
+        rm -f ./terraform.zip
+        cp terraform /usr/local/bin/
+    fi
+}
+
+build_ibm_provider(){
+    if [[ ! -f "${TF_PLUGIN_PATH}/IBM-Cloud/ibm/${TERRAFORM_PROVIDER_IBM_VERSION}/linux_ppc64le/terraform-provider-ibm" || ! -f "${TF_PLUGIN_PATH}/hashicorp/ibm/${TERRAFORM_PROVIDER_IBM_VERSION}/linux_ppc64le/terraform-provider-ibm" ]]; then
+        cd /tmp
+        git clone -b ${TERRAFORM_PROVIDER_IBM_VERSION} --single-branch https://github.com/IBM-Cloud/terraform-provider-ibm
+        cd terraform-provider-ibm
+        go build .
+    fi
+}
+
+build_null_provider(){
+    if [ ! -f "${TF_PLUGIN_PATH}/hashicorp/null/${TERRAFORM_PROVIDER_NULL_VERSION}/linux_ppc64le/terraform-provider-null" ]; then
path: kubetest2-tf/hack/terraform_install.sh
user: login: Prajyot-Parab
body: Fixed.
created_at: 2025-03-20T19:48:27Z
author_association: MEMBER
diff_hunk: @@ -15,7 +15,11 @@ BINARY_NAME=kubetest2-tf
 BUILD_FLAGS=-trimpath -ldflags="-buildid= -X=sigs.k8s.io/provider-ibmcloud-test-infra/kubetest2-tf/deployer/deployer.GitTag=$(COMMIT)"
 # ==============================================================================
 
-install-deployer-tf:
+pre-deploy:
path: kubetest2-tf/Makefile
user: login: Prajyot-Parab
body: Fixed.
created_at: 2025-03-20T19:48:39Z
author_association: MEMBER
diff_hunk: @@ -0,0 +1,88 @@
+#!/bin/bash
+
+# Copyright 2025 The Kubernetes Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+TF_VERSION="v1.9.8"
+TERRAFORM_PROVIDER_IBM_VERSION="v1.73.0"
+TERRAFORM_PROVIDER_NULL_VERSION="v3.2.3"
+TF_PLUGIN_PATH=/root/.terraform.d/plugins/registry.terraform.io
path: kubetest2-tf/hack/terraform_install.sh
user: login: mkumatag
body: This is not address yet?!
created_at: 2025-03-21T03:50:53Z
author_association: MEMBER
diff_hunk: @@ -0,0 +1,88 @@
+#!/bin/bash
+
+# Copyright 2025 The Kubernetes Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+TF_VERSION="v1.9.8"
+TERRAFORM_PROVIDER_IBM_VERSION="v1.73.0"
+TERRAFORM_PROVIDER_NULL_VERSION="v3.2.3"
+TF_PLUGIN_PATH=/root/.terraform.d/plugins/registry.terraform.io
path: kubetest2-tf/hack/terraform_install.sh
user: login: Prajyot-Parab
body: Fixed.
created_at: 2025-03-21T09:45:47Z
author_association: MEMBER

PR comments:
user: login: k8s-ci-robot
created_at: 2025-03-25T18:36:47Z
body: [APPROVALNOTIFIER] This PR is **APPROVED**

This pull-request has been approved by: *<a href="https://github.com/kubernetes-sigs/provider-ibmcloud-test-infra/pull/12#pullrequestreview-2714831646" title="LGTM">mkumatag</a>*, *<a href="https://github.com/kubernetes-sigs/provider-ibmcloud-test-infra/pull/12#" title="Author self-approved">Prajyot-Parab</a>*

The full list of commands accepted by this bot can be found [here](https://go.k8s.io/bot-commands?repo=kubernetes-sigs%2Fprovider-ibmcloud-test-infra).

The pull request process is described [here](https://git.k8s.io/community/contributors/guide/owners.md#the-code-review-process)

<details >
Needs approval from an approver in each of these files:

- ~~[OWNERS](https://github.com/kubernetes-sigs/provider-ibmcloud-test-infra/blob/main/OWNERS)~~ [Prajyot-Parab,mkumatag]

Approvers can indicate their approval by writing `/approve` in a comment
Approvers can cancel approval by writing `/approve cancel` in a comment
</details>
<!-- META={"approvers":[]} -->
author_association: CONTRIBUTOR