displague / deprecated-terraform-provider-linode

[OLD] Terraform provider plugin for Linode Cloud resources.. See
https://github.com/terraform-providers/terraform-provider-linode
Mozilla Public License 2.0
15 stars 5 forks source link

Terraform Provider Development Program, Review 1 #16

Closed paddycarver closed 5 years ago

paddycarver commented 6 years ago

Hi! My name is Paddy, I'm part of the Terraform Ecosystem team at HashiCorp. I've been assigned to review your provider for possible acceptance into the terraform-providers org and inclusion on terraform.io. I've done a preliminary review of your data sources and the linode_instance resource, and found enough to give feedback on that I felt it was a representative review. I have not looked at the nodebalancers or other resources yet, but my intention is to point out areas that could be improved that are representative, and allow you to apply that feedback to other areas of the codebase, as well. When this part of the feedback has been addressed, I'll take another pass at all the resources.

I do want to start by saying that your code looks great so far, and that you shouldn't be intimidated by the number of issues being raised here. Some are rather important and critical to get right, but you'll find a lot of them to be nitpicks that reflect lessons learned from maintaining a lot of providers for a long time, and how little things like error messages can be structured to make future maintenance easier. So just because I'm giving you a laundry list of things to address here doesn't mean your provider is bad or your code is sub-par, I'm just trying to pass on the things we've learned the hard way so you can take advantage of them.

Here's what I found:

Please let me know if any of this doesn't make sense or you'd like more information on anything.

Best, Paddy

displague commented 6 years ago

Rather than copy your TODO list, I'm going to check off the things I believe have been covered, currently included in master.

cgriggs01 commented 6 years ago

Hi @displague,

Thanks for all your hard work on this provider so far, I wanted to get an idea of then this provider is going to be ready for official release. Do you have an eta on when all the issues Paddy raised will be addressed?

Looking forward to the release. Best, Chris

displague commented 6 years ago

Hi @cgriggs01,

I've been trucking through the issues raised by @paddycarver above and incorporated linode_instance resource changes discussed elsewhere with @paddycarver and @paultyng (both of which have been very helpful at every step).

These changes are being applied in #19 with a goal of supporting and documenting the schema described in the example in that PR description.

In terms of linode_instance resource CRUD work, I have the CR_D done and now need to refactor Update behaviors to match. I believe I will have that work merged within a week.

I've also added support for Volumes, NodeBalancers, and DNS, so I'm hopeful that all of these can be considered for Review 2.

displague commented 6 years ago

All of the changes I could act on based on this feedback have been merged into master.

Thanks, @paddycarver

paddycarver commented 5 years ago

So I have a few quick notes after reading through the provider. I think after this, you're all set. Feel free to ping me when you've addressed these concerns, and I'll come sign off. These should be all minor things.

That's it! You're at the home stretch. Thank you for being so superhumanly patient.

displague commented 5 years ago

Didn't intend to close the Issue, but #29 did cover the previous list of changes.

paddycarver commented 5 years ago

I've reviewed everything up to ae9e50a, and you went above and beyond in response to the last round of review. This looks good to me. I'm happy with the technical quality of it. 👍 Great work!

displague commented 5 years ago

Closing -- See Issue #36