-
Notifications
You must be signed in to change notification settings - Fork 805
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
Check existing modules for Azure on Terraform Registry #16
Comments
Manual checking could be time consuming, wonder if it's worth automating the process. There should be tests available for each. |
yeah, this is something I thought about, but it might be tricky. |
is there a way to run terraform side by side? or should we just test against the newest version for issues? |
@grayjeremy that's an interesting question! As terraform is just a binary, I think you can have two of them in your PATH, like terraform11 and terraform12 and just use them like that. Another solution could be to have separate folder and switch in your PATH, but that would not allow running both version at the same time... @grayzu @echuvyrov any suggestion? |
I was able to create a mysql object with the following configuration using terraform version 0.12
|
So to run these side by side, just download the previous version, put it in a folder on the desktop and reference it by the full path. I didn't mess with the path variable, just did a shift+right click on the downloaded file and "copy as path" to get something like "C:\Users\JEGRA\Desktop\tf 11.14\terraform.exe". The only issue is you will need to run the same TF files in a different directory for different versions. I got the error below.
|
In the webapp module, there was an error introduced. A plan works successfully in version 0.11.14, but an error is created in .12.0
This is likely due to the "Generalized Type System" introduced in 0.12 @jcorioland what should I do here? Log an issue on the original module? Log an issue in our backlog? I'd like to continue to verify before I stop and start fixing stuff. There is also a second error in this module that exists in both versions. |
@grayjeremy excellent! I propose that we track/aggregate all the issues in comments here for now, like you've just done. @grayzu @echuvyrov any suggestion? |
In the redis module, there was an error introduced. A plan works successfully in version 0.11.14, but and error is thrown on plan in 0.12.0
This is the 2nd error of this type that I have found. |
I'd suggest creating an issue per module in this repo once you have finished your testing. That will be much easier to track. |
In the functions module, there was an error introduced. A plan works successfully in version 0.11.14, but and error is thrown on plan in 0.12.0
This is the 3rd error that has the same root cause in v.12. I found some prelim stuff that may be related in v.12 that I will come back to later once I start looking into these issues. |
Postgres module has an issue in version .11.14 and .12. This may be user error on my part...
|
the subnet, vnet, and remote-state-storage modules uses a version constraint that excludes version 0.12.0, referenced below. I had assumed that the version constraint listed was good for versions >= 0.11.1 and < 1.0.0, per this article. This may not be the case. On another note, this module doesn't really seem to add any value to the subnet provider and has no documentation on usage.
|
@jcorioland consul, vault, cassandra, and subscription-base still need to be verified. I have created seperate, linked issues around the others. I can't update the text of the original issue but it may be nice to title the ones I have already looked over in a separate section. My cousin @grayzu realized this comment string was getting out of hand long before I did. We may want to delete all the comments relating to issues and leave the ones about how to run two versions side by side. |
@grayjeremy thank you so much for your work on that, it's really good insights. And thanks for filling all the issues. I've updated the original issue to transform the list to a tasks list. I propose that even if you have created issues, we keep the comment in the thread for history :) |
There are about 100 modules for Azure registered on the Terraform Registry.
Some of them are a bit outdated, may need some updates or may have stop working. One good first issue for beginners could be to check on those modules and report the one that are not up to date.
By doing that, you will definitely get more familiar with Terraform and modules.
Please find below a suggested list of modules that could be investigated and checked. Feel free to drop a comment to notify others that you are taking one in particular.
You can also browse the Terraform Registry here.
The text was updated successfully, but these errors were encountered: