Skip to content

S3 Vectors #43393

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
wants to merge 41 commits into
base: main
Choose a base branch
from
Open

S3 Vectors #43393

wants to merge 41 commits into from

Conversation

ewbankkit
Copy link
Contributor

@ewbankkit ewbankkit commented Jul 15, 2025

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

New resources for Amazon S3 Vectors.

Relations

Closes #43409.

Output from Acceptance Testing

% make testacc TESTARGS='-run=TestAccS3Vectors' PKG=s3vectors ACCTEST_PARALLELISM=2 
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.24.5 test ./internal/service/s3vectors/... -v -count 1 -parallel 2  -run=TestAccS3Vectors -timeout 360m -vet=off
2025/07/15 15:42:59 Creating Terraform AWS Provider (SDKv2-style)...
2025/07/15 15:42:59 Initializing Terraform AWS Provider (SDKv2-style)...
=== RUN   TestAccS3VectorsIndex_basic
=== PAUSE TestAccS3VectorsIndex_basic
=== RUN   TestAccS3VectorsIndex_disappears
=== PAUSE TestAccS3VectorsIndex_disappears
=== RUN   TestAccS3VectorsIndex_withVector
=== PAUSE TestAccS3VectorsIndex_withVector
=== RUN   TestAccS3VectorsVectorBucketPolicy_basic
=== PAUSE TestAccS3VectorsVectorBucketPolicy_basic
=== RUN   TestAccS3VectorsVectorBucketPolicy_disappears
=== PAUSE TestAccS3VectorsVectorBucketPolicy_disappears
=== RUN   TestAccS3VectorsVectorBucket_basic
=== PAUSE TestAccS3VectorsVectorBucket_basic
=== RUN   TestAccS3VectorsVectorBucket_disappears
=== PAUSE TestAccS3VectorsVectorBucket_disappears
=== RUN   TestAccS3VectorsVectorBucket_encryptionConfigurationAES256
=== PAUSE TestAccS3VectorsVectorBucket_encryptionConfigurationAES256
=== RUN   TestAccS3VectorsVectorBucket_encryptionConfigurationKMS
=== PAUSE TestAccS3VectorsVectorBucket_encryptionConfigurationKMS
=== RUN   TestAccS3VectorsVectorBucket_forceDestroy
=== PAUSE TestAccS3VectorsVectorBucket_forceDestroy
=== CONT  TestAccS3VectorsIndex_basic
=== CONT  TestAccS3VectorsVectorBucket_basic
--- PASS: TestAccS3VectorsVectorBucket_basic (14.77s)
=== CONT  TestAccS3VectorsVectorBucket_encryptionConfigurationKMS
--- PASS: TestAccS3VectorsIndex_basic (15.11s)
=== CONT  TestAccS3VectorsVectorBucket_forceDestroy
--- PASS: TestAccS3VectorsVectorBucket_encryptionConfigurationKMS (15.58s)
=== CONT  TestAccS3VectorsVectorBucket_encryptionConfigurationAES256
--- PASS: TestAccS3VectorsVectorBucket_forceDestroy (19.68s)
=== CONT  TestAccS3VectorsVectorBucketPolicy_basic
--- PASS: TestAccS3VectorsVectorBucketPolicy_basic (15.20s)
=== CONT  TestAccS3VectorsVectorBucketPolicy_disappears
--- PASS: TestAccS3VectorsVectorBucket_encryptionConfigurationAES256 (20.00s)
=== CONT  TestAccS3VectorsVectorBucket_disappears
--- PASS: TestAccS3VectorsVectorBucket_disappears (11.28s)
=== CONT  TestAccS3VectorsIndex_withVector
--- PASS: TestAccS3VectorsVectorBucketPolicy_disappears (12.48s)
=== CONT  TestAccS3VectorsIndex_disappears
--- PASS: TestAccS3VectorsIndex_withVector (10.95s)
--- PASS: TestAccS3VectorsIndex_disappears (11.83s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/s3vectors	79.161s

ewbankkit added 30 commits July 8, 2025 10:13
# Conflicts:
#	go.mod
#	go.sum
% make testacc TESTARGS='-run=TestAccS3VectorsVectorBucket_' PKG=s3vectors
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.24.4 test ./internal/service/s3vectors/... -v -count 1 -parallel 20  -run=TestAccS3VectorsVectorBucket_ -timeout 360m -vet=off
2025/07/11 11:33:49 Creating Terraform AWS Provider (SDKv2-style)...
2025/07/11 11:33:49 Initializing Terraform AWS Provider (SDKv2-style)...
=== RUN   TestAccS3VectorsVectorBucket_basic
=== PAUSE TestAccS3VectorsVectorBucket_basic
=== RUN   TestAccS3VectorsVectorBucket_disappears
=== PAUSE TestAccS3VectorsVectorBucket_disappears
=== CONT  TestAccS3VectorsVectorBucket_basic
=== CONT  TestAccS3VectorsVectorBucket_disappears
--- PASS: TestAccS3VectorsVectorBucket_disappears (12.07s)
--- PASS: TestAccS3VectorsVectorBucket_basic (14.36s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/s3vectors	19.338s
% make testacc TESTARGS='-run=TestAccS3VectorsIndex_' PKG=s3vectors
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.24.4 test ./internal/service/s3vectors/... -v -count 1 -parallel 20  -run=TestAccS3VectorsIndex_ -timeout 360m -vet=off
2025/07/11 14:25:50 Creating Terraform AWS Provider (SDKv2-style)...
2025/07/11 14:25:50 Initializing Terraform AWS Provider (SDKv2-style)...
=== RUN   TestAccS3VectorsIndex_basic
=== PAUSE TestAccS3VectorsIndex_basic
=== RUN   TestAccS3VectorsIndex_disappears
=== PAUSE TestAccS3VectorsIndex_disappears
=== CONT  TestAccS3VectorsIndex_basic
=== CONT  TestAccS3VectorsIndex_disappears
--- PASS: TestAccS3VectorsIndex_disappears (12.38s)
--- PASS: TestAccS3VectorsIndex_basic (14.69s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/s3vectors	19.534s
% make testacc TESTARGS='-run=TestAccS3VectorsVectorBucketPolicy_' PKG=s3vectors
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.24.4 test ./internal/service/s3vectors/... -v -count 1 -parallel 20  -run=TestAccS3VectorsVectorBucketPolicy_ -timeout 360m -vet=off
2025/07/11 14:46:51 Creating Terraform AWS Provider (SDKv2-style)...
2025/07/11 14:46:51 Initializing Terraform AWS Provider (SDKv2-style)...
=== RUN   TestAccS3VectorsVectorBucketPolicy_basic
=== PAUSE TestAccS3VectorsVectorBucketPolicy_basic
=== RUN   TestAccS3VectorsVectorBucketPolicy_disappears
=== PAUSE TestAccS3VectorsVectorBucketPolicy_disappears
=== CONT  TestAccS3VectorsVectorBucketPolicy_basic
=== CONT  TestAccS3VectorsVectorBucketPolicy_disappears
--- PASS: TestAccS3VectorsVectorBucketPolicy_disappears (13.97s)
--- PASS: TestAccS3VectorsVectorBucketPolicy_basic (17.85s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/s3vectors	22.678s
# Conflicts:
#	go.mod
#	go.sum
Copy link
Contributor

Community Guidelines

This 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

  • Please vote on this Pull Request by adding a 👍 reaction to the original post to help the community and maintainers prioritize it.
  • Please see our prioritization guide for additional information on how the maintainers handle prioritization.
  • Please do not leave +1 or other comments that do not add relevant new information or questions; they generate extra noise for others following the Pull Request and do not help prioritize the request.

Pull Request Authors

  • Review the contribution guide relating to the type of change you are making to ensure all of the necessary steps have been taken.
  • Whether or not the branch has been rebased will not impact prioritization, but doing so is always a welcome surprise.

@github-actions github-actions bot added prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. documentation Introduces or discusses updates to documentation. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. provider Pertains to the provider itself, rather than any interaction with AWS. linter Pertains to changes to or issues with the various linters. sweeper Pertains to changes to or issues with the sweeper. repository Repository modifications; GitHub Actions, developer docs, issue templates, codeowners, changelog. client-connections Pertains to the AWS Client and service connections. generators Relates to code generators. github_actions Pull requests that update Github_actions code service/s3tables Issues and PRs that pertain to the s3tables service. size/XL Managed by automation to categorize the size of a PR. labels Jul 15, 2025
@ewbankkit ewbankkit added enhancement Requests to existing resources that expand the functionality or scope. new-resource Introduces a new resource. new-service Introduces a new service. labels Jul 15, 2025
@ewbankkit ewbankkit changed the title S3 Vector Buckets S3 Vectors Jul 16, 2025
@ewbankkit ewbankkit marked this pull request as ready for review July 16, 2025 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client-connections Pertains to the AWS Client and service connections. documentation Introduces or discusses updates to documentation. enhancement Requests to existing resources that expand the functionality or scope. generators Relates to code generators. github_actions Pull requests that update Github_actions code linter Pertains to changes to or issues with the various linters. new-resource Introduces a new resource. new-service Introduces a new service. prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. provider Pertains to the provider itself, rather than any interaction with AWS. repository Repository modifications; GitHub Actions, developer docs, issue templates, codeowners, changelog. service/s3tables Issues and PRs that pertain to the s3tables service. size/XL Managed by automation to categorize the size of a PR. sweeper Pertains to changes to or issues with the sweeper. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Amazon S3 Vectors
1 participant