-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to Terraform 1.0.11 #228
Conversation
Removes the terraform required_version variable from all modules. Install instructions: https://learn.hashicorp.com/tutorials/terraform/install-cli Signed-off-by: Mick Tarsel <mtarsel@gmail.com>
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: mtarsel The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Welcome @mtarsel! It looks like this is your first PR to ocp-power-automation/ocp4-upi-powervm 🎉 |
Hi @mtarsel. Thanks for your PR. I'm waiting for a ocp-power-automation member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@yussufsh Do you know why we need to add the TF version to all sub-modules version file? |
Not needed but if someone is using the modules then he can use any versions and then will complain. Eg: https://github.com/ocp-power-automation/infra/tree/master/infra-node |
@mtarsel we wanted to stick to a particular version and everyone uses the same one so we don't have to investigate on issues that are Terraform version related. |
@aishwaryabk can you test this one and the PowerVS with new TF version? |
Yes, sure. |
Signed-off-by: Mick Tarsel <mtarsel@gmail.com>
@aishwaryabk has found bug for TF 1.1.0, so we have to limit the version to 1.0.x, the version should be required_version = "~> 1.0.0". Also don't remove TF version from sub-modules. |
@aishwaryabk is there an issue filed on this repo we can reference in this PR and mention in the commit? I have no problem adding the version restrictions with
@cs-zhang shouldn't the modules all use the same TF versions? Is there any reason for 1 module to use a different version than the rest of the modules? I assumed the main versions.tf was inherited by all the modules. I am new to TF but curious why this is needed. Thanks! |
@mtarsel Currently, there is no issue filed. This is a TF bug and will require more investigation. |
We already made the change to use any TF version which great than 1.0. So this PR is no longer needed and close it. |
I don't think the change is done for this project. |
Here is the PR: #242 |
👍 |
Removes the terraform required_version variable from all modules. I went with this version because it was available on brew when I did a fresh install on my Mac.
Install instructions
Upgrade instructions