-
Notifications
You must be signed in to change notification settings - Fork 9.8k
r/aws_bedrockagent_knowledge_base: Additional knowledge_base_configuration and storage_configuration options
#45465
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
Open
ewbankkit
wants to merge
71
commits into
main
Choose a base branch
from
f-aws_bedrockagent_knowledge_base-enhancements
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.
+3,120
−1,093
Conversation
This file contains hidden or 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
Removing unneeded changes in website/docs/cdktf
Add kendra_knowledge_base_configuration block and acceptance test to support Kendra indexes as knowledge base backend.
Updated tests to now create a managed OpenSearch domain to be used instead of having to pre-create one.
…drockagent_knowledge_base-enhancements
…drockagent_knowledge_base-enhancements # Conflicts: # internal/service/bedrockagent/knowledge_base_test.go
% TF_AWS_KENDRA_INDEX_ARN=arn:aws:kendra:us-west-2:123456789012:index/d1aff557-e6b1-4ce9-87d1-734f005c6a19 make testacc TESTARGS='-run=TestAccBedrockAgent_serial/KnowledgeBase/KendraBasic' PKG=bedrockagent
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
make: Running acceptance tests on branch: 🌿 f-aws_bedrockagent_knowledge_base-enhancements 🌿...
TF_ACC=1 go1.24.11 test ./internal/service/bedrockagent/... -v -count 1 -parallel 20 -run=TestAccBedrockAgent_serial/KnowledgeBase/KendraBasic -timeout 360m -vet=off
2025/12/05 14:25:11 Creating Terraform AWS Provider (SDKv2-style)...
2025/12/05 14:25:11 Initializing Terraform AWS Provider (SDKv2-style)...
=== RUN TestAccBedrockAgent_serial
=== PAUSE TestAccBedrockAgent_serial
=== CONT TestAccBedrockAgent_serial
=== RUN TestAccBedrockAgent_serial/KnowledgeBase
=== RUN TestAccBedrockAgent_serial/KnowledgeBase/KendraBasic
--- PASS: TestAccBedrockAgent_serial (25.71s)
--- PASS: TestAccBedrockAgent_serial/KnowledgeBase (25.71s)
--- PASS: TestAccBedrockAgent_serial/KnowledgeBase/KendraBasic (25.71s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/bedrockagent 31.073s
…'testAccKnowledgeBase_OpenSearchManagedCluster_basic'.
Contributor
Community GuidelinesThis comment is added to every new Pull Request to provide quick reference to how the Terraform AWS Provider is maintained. Please review the information below, and thank you for contributing to the community that keeps the provider thriving! 🚀 Voting for Prioritization
Pull Request Authors
|
0035035 to
41ac93e
Compare
% make testacc TESTARGS='-run=TestAccBedrockAgent_serial/KnowledgeBase/\(disappears\|tags\)' PKG=bedrockagent
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
make: Running acceptance tests on branch: 🌿 f-aws_bedrockagent_knowledge_base-enhancements 🌿...
TF_ACC=1 go1.24.11 test ./internal/service/bedrockagent/... -v -count 1 -parallel 20 -run=TestAccBedrockAgent_serial/KnowledgeBase/\(disappears\|tags\) -timeout 360m -vet=off
2025/12/08 16:36:13 Creating Terraform AWS Provider (SDKv2-style)...
2025/12/08 16:36:13 Initializing Terraform AWS Provider (SDKv2-style)...
=== RUN TestAccBedrockAgent_serial
=== PAUSE TestAccBedrockAgent_serial
=== CONT TestAccBedrockAgent_serial
=== RUN TestAccBedrockAgent_serial/KnowledgeBase
=== RUN TestAccBedrockAgent_serial/KnowledgeBase/tags
=== RUN TestAccBedrockAgent_serial/KnowledgeBase/disappears
--- PASS: TestAccBedrockAgent_serial (73.62s)
--- PASS: TestAccBedrockAgent_serial/KnowledgeBase (73.62s)
--- PASS: TestAccBedrockAgent_serial/KnowledgeBase/tags (49.23s)
--- PASS: TestAccBedrockAgent_serial/KnowledgeBase/disappears (24.39s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/bedrockagent 79.008s
…drockAgentKnowledgeBaseS3VectorsBase'.
% make testacc TESTARGS='-run=TestAccBedrockAgent_serial/KnowledgeBase/RDS' PKG=bedrockagent
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
make: Running acceptance tests on branch: 🌿 f-aws_bedrockagent_knowledge_base-enhancements 🌿...
TF_ACC=1 go1.24.11 test ./internal/service/bedrockagent/... -v -count 1 -parallel 20 -run=TestAccBedrockAgent_serial/KnowledgeBase/RDS -timeout 360m -vet=off
2025/12/08 17:04:05 Creating Terraform AWS Provider (SDKv2-style)...
2025/12/08 17:04:05 Initializing Terraform AWS Provider (SDKv2-style)...
=== RUN TestAccBedrockAgent_serial
=== PAUSE TestAccBedrockAgent_serial
=== CONT TestAccBedrockAgent_serial
=== RUN TestAccBedrockAgent_serial/KnowledgeBase
=== RUN TestAccBedrockAgent_serial/KnowledgeBase/RDS
--- PASS: TestAccBedrockAgent_serial (786.69s)
--- PASS: TestAccBedrockAgent_serial/KnowledgeBase (786.69s)
--- PASS: TestAccBedrockAgent_serial/KnowledgeBase/RDS (786.69s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/bedrockagent 792.271s
…sql_knowledge_base_configuration` argument.
% make testacc TESTARGS='-run=TestAccBedrockAgent_serial/KnowledgeBase/S3Vectors' PKG=bedrockagent
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
make: Running acceptance tests on branch: 🌿 f-aws_bedrockagent_knowledge_base-enhancements 🌿...
TF_ACC=1 go1.24.11 test ./internal/service/bedrockagent/... -v -count 1 -parallel 20 -run=TestAccBedrockAgent_serial/KnowledgeBase/S3Vectors -timeout 360m -vet=off
2025/12/09 15:39:23 Creating Terraform AWS Provider (SDKv2-style)...
2025/12/09 15:39:23 Initializing Terraform AWS Provider (SDKv2-style)...
=== RUN TestAccBedrockAgent_serial
=== PAUSE TestAccBedrockAgent_serial
=== CONT TestAccBedrockAgent_serial
=== RUN TestAccBedrockAgent_serial/KnowledgeBase
=== RUN TestAccBedrockAgent_serial/KnowledgeBase/S3Vectors
--- PASS: TestAccBedrockAgent_serial (51.22s)
--- PASS: TestAccBedrockAgent_serial/KnowledgeBase (51.22s)
--- PASS: TestAccBedrockAgent_serial/KnowledgeBase/S3Vectors (51.22s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/bedrockagent 56.715s
% make testacc TESTARGS='-run=TestAccBedrockAgent_serial/KnowledgeBase/StructuredDataStoreRedshiftProvisioned' PKG=bedrockagent
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
make: Running acceptance tests on branch: 🌿 f-aws_bedrockagent_knowledge_base-enhancements 🌿...
TF_ACC=1 go1.24.11 test ./internal/service/bedrockagent/... -v -count 1 -parallel 20 -run=TestAccBedrockAgent_serial/KnowledgeBase/StructuredDataStoreRedshiftProvisioned -timeout 360m -vet=off
2025/12/10 13:56:08 Creating Terraform AWS Provider (SDKv2-style)...
2025/12/10 13:56:08 Initializing Terraform AWS Provider (SDKv2-style)...
=== RUN TestAccBedrockAgent_serial
=== PAUSE TestAccBedrockAgent_serial
=== CONT TestAccBedrockAgent_serial
=== RUN TestAccBedrockAgent_serial/KnowledgeBase
=== RUN TestAccBedrockAgent_serial/KnowledgeBase/StructuredDataStoreRedshiftProvisioned
--- PASS: TestAccBedrockAgent_serial (300.23s)
--- PASS: TestAccBedrockAgent_serial/KnowledgeBase (300.23s)
--- PASS: TestAccBedrockAgent_serial/KnowledgeBase/StructuredDataStoreRedshiftProvisioned (300.23s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/bedrockagent 305.618s
% make testacc TESTARGS='-run=TestAccBedrockAgent_serial/KnowledgeBase/StructuredDataStoreRedshiftServerless' PKG=bedrockagent
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
make: Running acceptance tests on branch: 🌿 f-aws_bedrockagent_knowledge_base-enhancements 🌿...
TF_ACC=1 go1.24.11 test ./internal/service/bedrockagent/... -v -count 1 -parallel 20 -run=TestAccBedrockAgent_serial/KnowledgeBase/StructuredDataStoreRedshiftServerless -timeout 360m -vet=off
2025/12/10 14:42:05 Creating Terraform AWS Provider (SDKv2-style)...
2025/12/10 14:42:05 Initializing Terraform AWS Provider (SDKv2-style)...
=== RUN TestAccBedrockAgent_serial
=== PAUSE TestAccBedrockAgent_serial
=== CONT TestAccBedrockAgent_serial
=== RUN TestAccBedrockAgent_serial/KnowledgeBase
=== RUN TestAccBedrockAgent_serial/KnowledgeBase/StructuredDataStoreRedshiftServerless
--- PASS: TestAccBedrockAgent_serial (378.33s)
--- PASS: TestAccBedrockAgent_serial/KnowledgeBase (378.33s)
--- PASS: TestAccBedrockAgent_serial/KnowledgeBase/StructuredDataStoreRedshiftServerless (378.33s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/bedrockagent 383.801s
…_analytics_configuration` argument.
% make testacc TESTARGS='-run=TestAccBedrockAgent_serial/KnowledgeBase/NeptuneAnalytics' PKG=bedrockagent
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
make: Running acceptance tests on branch: 🌿 f-aws_bedrockagent_knowledge_base-enhancements 🌿...
TF_ACC=1 go1.24.11 test ./internal/service/bedrockagent/... -v -count 1 -parallel 20 -run=TestAccBedrockAgent_serial/KnowledgeBase/NeptuneAnalytics -timeout 360m -vet=off
2025/12/11 08:48:37 Creating Terraform AWS Provider (SDKv2-style)...
2025/12/11 08:48:37 Initializing Terraform AWS Provider (SDKv2-style)...
=== RUN TestAccBedrockAgent_serial
=== PAUSE TestAccBedrockAgent_serial
=== CONT TestAccBedrockAgent_serial
=== RUN TestAccBedrockAgent_serial/KnowledgeBase
=== RUN TestAccBedrockAgent_serial/KnowledgeBase/NeptuneAnalytics
--- PASS: TestAccBedrockAgent_serial (426.11s)
--- PASS: TestAccBedrockAgent_serial/KnowledgeBase (426.11s)
--- PASS: TestAccBedrockAgent_serial/KnowledgeBase/NeptuneAnalytics (426.11s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/bedrockagent 431.463s
…orage' with 'testAccKnowledgeBase_RDS_supplementalDataStorage'.
…ceptance tests by using S3 Vectors.
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.
enhancement
Requests to existing resources that expand the functionality or scope.
prioritized
Part of the maintainer teams immediate focus. To be addressed within the current quarter.
service/bedrockagent
Issues and PRs that pertain to the bedrockagent service.
service/logs
Issues and PRs that pertain to the logs service.
size/XL
Managed by automation to categorize the size of a PR.
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.
Rollback Plan
If a change needs to be reverted, we will publish an updated version of the library.
Changes to Security Controls
Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.
Description
Rolls up some existing PRs and adds functionality for additional
knowledge_base_configurationandstorage_configurationoptions.Relations
Closes #44388.
Closes #43836.
Closes #42588.
Closes #44060.
Closes #45468.
Closes #43438.
Closes #37220.
Closes #37253.
Closes #42850.
Closes #41745.
Relates #41140 -- Reduced to a single acceptance test that requires external OpenSearch Serverless collection setup.
Output from Acceptance Testing