-
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
Cluster data source #61
base: master
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## master #61 +/- ##
==========================================
+ Coverage 41.4% 45.22% +3.82%
==========================================
Files 11 12 +1
Lines 1181 1331 +150
==========================================
+ Hits 489 602 +113
- Misses 691 728 +37
Partials 1 1
Continue to review full report at Codecov.
|
Hey @snowiow thanks for making the PR. Not sure about that error you are seeing. Can you try updating your dependencies and make sure you are on the correct go version 1.10 and re-run them? |
I tried to run the tests agian, but currently I get a timeout because the cluster creation takes a pretty long time and the test only waits for 10 minutes |
Hey @snowiow if you are running |
@akshaykarle / @snowiow any timeframes around getting this merged? |
@akshaykarle those are running without problems. But the problem I have is, if I go to make tests for the cluster data source, it would be an Acceptance Test as well and therefore I couldn't run the tests myself. @BrendanThompson From my point of view it can be merged, because the data source itself is working correctly. We used my fork of this provider for two of our environments already, without problems. The only thing I would like to have aswell is an acceptance test for the feature for completeness sake, but I can't verify the tests at the moment, because the acceptance tests aren't running through for me. |
Hi, first of all thanks for creating this provider. It is a huge help for our automated infrastructure provisioning.
Nevertheless we needed the cluster as a data source as well. Otherwise we have to apply the cluster creation together with the creation of other resources, because we needed the
mongodb_uri_with_options
as an env paremeter for a ec2 user_data script. This would have the drawback, that every time we want to destroy the ec2 instance, the mongodb cluster was destroyed as well, which results in long test iteration cycles.Here I created the data source and the documentation for it. But I couldn't write the test, because I always get an error while executing
make test
:Maybe you can help me with that problem? 🙂