Data source for Neptune cluster aws_neptune_cluster
#44809
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Rollback Plan
Just reject the PR I guess.
Description
Create a new data source
aws_neptune_clusterfor Neptune. The implementation is a bit different from what the issue describes. Because I noticed that many terraform data sources have data sourceaws_neptune_cluster(without an s) at then end that just returns info about 1 specific cluster with lot of detail.But to implement the data source,
I need to implement
aws_neptune_clusters(with an s).Since, the expectation is to create
aws_neptune_clusteras per the issue description, The data source requires providing a Neptune cluster id as (required) input.Relations
Closes #40081.
References
Just followed the official contribution guide.
Output from Acceptance Testing
Since creating a Neptune cluster costs money, I used it to test it against an existing Neptune cluster that is already there.
Confirmed,
✅ All tests pass
✅ make build works
✅ make gen has been run and committed
Testing commands,