-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
r/aws_neptunegraph_graph: New Resource: Addition of Amazon Neptune Analytics Graph resource. #41216
Open
triggan
wants to merge
5
commits into
hashicorp:main
Choose a base branch
from
triggan:f-aws-neptunegraph-graph
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,411
−1
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Community NoteVoting for Prioritization
For Submitters
|
github-actions
bot
added
documentation
Introduces or discusses updates to documentation.
tests
PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
tags
Pertains to resource tagging.
generators
Relates to code generators.
service/neptunegraph
Issues and PRs that pertain to the neptunegraph service.
needs-triage
Waiting for first response or review from a maintainer.
partner
Contribution from a partner.
labels
Feb 4, 2025
ewbankkit
added
new-resource
Introduces a new resource.
and removed
needs-triage
Waiting for first response or review from a maintainer.
labels
Feb 4, 2025
Noted build errors on terrafmt, lint, and docs formatting. Working to address issues. |
…ey_identifier parameter to docs example.
@ewbankkit - I'm still getting an odd lint failure. It's complaining about an extra newline character on line 371 of make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.5 test ./internal/service/neptunegraph/... -v -count 1 -parallel 20 -timeout 360m -vet=off
2025/02/04 16:17:17 Initializing Terraform AWS Provider...
=== RUN TestAccNeptuneGraphGraph_basic
=== PAUSE TestAccNeptuneGraphGraph_basic
=== RUN TestAccNeptuneGraphGraph_disappears
=== PAUSE TestAccNeptuneGraphGraph_disappears
=== RUN TestAccNeptuneGraphGraph_vectorSearch
=== PAUSE TestAccNeptuneGraphGraph_vectorSearch
=== RUN TestAccNeptuneGraphGraph_kmsKey
=== PAUSE TestAccNeptuneGraphGraph_kmsKey
=== RUN TestAccNeptuneGraphGraph_deletionProtection
=== PAUSE TestAccNeptuneGraphGraph_deletionProtection
=== RUN TestAccNeptuneGraphGraph_nameGenerated
=== PAUSE TestAccNeptuneGraphGraph_nameGenerated
=== RUN TestAccNeptuneGraphGraph_namePrefix
=== PAUSE TestAccNeptuneGraphGraph_namePrefix
=== RUN TestAccNeptuneGraphGraph_tags
=== PAUSE TestAccNeptuneGraphGraph_tags
=== CONT TestAccNeptuneGraphGraph_basic
=== CONT TestAccNeptuneGraphGraph_deletionProtection
=== CONT TestAccNeptuneGraphGraph_tags
=== CONT TestAccNeptuneGraphGraph_namePrefix
=== CONT TestAccNeptuneGraphGraph_nameGenerated
=== CONT TestAccNeptuneGraphGraph_vectorSearch
=== CONT TestAccNeptuneGraphGraph_kmsKey
=== CONT TestAccNeptuneGraphGraph_disappears
--- PASS: TestAccNeptuneGraphGraph_vectorSearch (506.25s)
--- PASS: TestAccNeptuneGraphGraph_kmsKey (507.58s)
--- PASS: TestAccNeptuneGraphGraph_nameGenerated (563.33s)
--- PASS: TestAccNeptuneGraphGraph_basic (590.72s)
--- PASS: TestAccNeptuneGraphGraph_disappears (593.05s)
--- PASS: TestAccNeptuneGraphGraph_deletionProtection (619.63s)
--- PASS: TestAccNeptuneGraphGraph_tags (639.07s)
--- PASS: TestAccNeptuneGraphGraph_namePrefix (647.95s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/neptunegraph 648.145s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
documentation
Introduces or discusses updates to documentation.
generators
Relates to code generators.
new-resource
Introduces a new resource.
partner
Contribution from a partner.
service/neptunegraph
Issues and PRs that pertain to the neptunegraph service.
tags
Pertains to resource tagging.
tests
PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
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.
Description
This PR includes the addition of a new resource, aws_neptunegraph_graph. This defines the construct of an Amazon Neptune Analytics graph. This addresses issue #36806 . The implementation follows the definition in the issue, but with some small changes:
graph_name
where this will be generated if not defined.graph_name_prefix
for generation of names with a prefix (i.e. "tf-").Noted oddities in development:
vector_search_configuration
due to limitation with framework protocol version 5 dependency on AWS provider. Implemented as a nested block, for now. Left code in comments for implementing this as an attribute should we ever move passed the v5 dependency.graph_name
orgraph_name_prefix
(or none).skipSnapshot
parameter that a user must provide before a graph can be deleted. The CloudFormation implementation of a Graph resources ignores this parameter and allows for deletion without a user specifying this parameter. I've decided to keep this behavior the same for the time being until we can address the discrepancy on the CFN/CDK side.Relations
Closes #36806
References
Output from Acceptance Testing