-
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
Terraform Provider Development Program #27
Comments
Hey @cgriggs01 thanks for taking the time to put this list together. I've been busy the last few weeks but I do have some time finally so I will start looking at these soon. Will keep you update as I work through them :) |
the resource files in the provider must follow the strict naming convention with the prefix resource_mongodbatlas_ follow by the resource name ie container.go This is the same for datasources, which are already correct.
also update travis.yml to run gogetcookie.sh
@cgriggs01 when I tried to remove the unimplemented
The MongoDB Atlas API doesn't provide methods to delete a Container or a Project so I'm unable to implement these methods. How should I proceed? Just leave those methods unimplemented for now? |
Hi @akshaykarle. I just deleted an empty Project using the API documented here: https://docs.atlas.mongodb.com/reference/api/project-delete-one/ |
Yup @dpiddockcmp, planning to add that soon to the provider :) |
Hey ya'll, I am having some issues running the acceptance tests against my MongoDB Atlas account, nd consistantly getting this error on most of the tests:
Any thoughts on how to fix this? |
hey @cgriggs01 i invited you to the test project just now. Can you accept my invitation and try running the tests again please? |
Ok, I accepted the invite. But am still getting those errors. I beleive its because the acceptance tests are calling Let me know. Thanks! |
Silently cheering for getting this provider to official registry |
Hey @akshaykarle
Although the items above should be address before provider official release, I’m going to move this provider into the queue to be review by one of our Terraform ecosystem engineers. You’ll be the 3rd integration in the queue so it will be a few weeks before an engineer is available to review. Let me know if you have any questions about those. |
Closing this one since we have #68 which covers what is remaining on this issue |
Hi All! 👋
I have opened this PR for the purpose of preparing the MongoDB Atlas Terraform provider for review and release into the official Terraform ecosystem. The following list are items that should be addressed before moving on tot the technical review and release portion of the program.
File naming conventions: the resource files in the provider must follow the strict naming convention with the prefix
resource_mongodbatlas_
follow by the resource name iecontainer.go
This is the same for datasources, which are already correct.Each resource and data source must have a corresponding test file with the postfix
_test.go
. Our goal for all provider is to have at lease 50% code coverage across the acceptance test. To learn more about Terraform provider acceptance testing, we recently published some new testing documentation on the subject.The project resource's
delete
method should be completed or removed.The container resource's methods
delete
andupdate
should be implementedThe ip_whitelist resource method
update
should be implemented or removedThe vpc_peering_connection resource's method
update
should be implemented or removedThere are two additional bash scripts that are used during the release process. changelog-links.sh and gogetcookie.sh. Can you please add these to the scripts/ directory.
You will need to update you .travis.yaml file to align with the terraform provider std travis config
There are two targets
website
andwebsite-test
that must be added to the GNUmakefile. You can find the necessary change in this PR.Once these are complete we can start testing the provider against a MongoDB Atlas env, after the tests pass we will start the technical review with one of our Terraform Engineers.
Please let me know if you have any questions.
Best,
Chris
The text was updated successfully, but these errors were encountered: