Skip to content
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

Bedrock Agent DataSource custom transformation support #39556

Merged

Conversation

drewtul
Copy link
Contributor

@drewtul drewtul commented Oct 1, 2024

Description

Add support for custom transformation to Bedrock Agent DataSource

Relations

Closes #39487
Closes #39506

References

Output from Acceptance Testing

% make testacc TESTS=TestAccBedrockAgent_serial/DataSource PKG=bedrockagent
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.1 test ./internal/service/bedrockagent/... -v -count 1 -parallel 20 -run='TestAccBedrockAgent_serial/DataSource'  -timeout 360m
=== RUN   TestAccBedrockAgent_serial
=== PAUSE TestAccBedrockAgent_serial
=== CONT  TestAccBedrockAgent_serial
=== RUN   TestAccBedrockAgent_serial/DataSource
=== RUN   TestAccBedrockAgent_serial/DataSource/parsing
=== RUN   TestAccBedrockAgent_serial/DataSource/customtransformation
=== RUN   TestAccBedrockAgent_serial/DataSource/basic
=== RUN   TestAccBedrockAgent_serial/DataSource/disappears
=== RUN   TestAccBedrockAgent_serial/DataSource/full
=== RUN   TestAccBedrockAgent_serial/DataSource/update
=== RUN   TestAccBedrockAgent_serial/DataSource/semantic
=== RUN   TestAccBedrockAgent_serial/DataSource/hierarchical
--- PASS: TestAccBedrockAgent_serial (12746.74s)
    --- PASS: TestAccBedrockAgent_serial/DataSource (12746.74s)
        --- PASS: TestAccBedrockAgent_serial/DataSource/parsing (1497.28s)
        --- PASS: TestAccBedrockAgent_serial/DataSource/customtransformation (1572.13s)
        --- PASS: TestAccBedrockAgent_serial/DataSource/basic (1697.54s)
        --- PASS: TestAccBedrockAgent_serial/DataSource/disappears (1615.45s)
        --- PASS: TestAccBedrockAgent_serial/DataSource/full (1412.92s)
        --- PASS: TestAccBedrockAgent_serial/DataSource/update (1712.49s)
        --- PASS: TestAccBedrockAgent_serial/DataSource/semantic (1730.37s)
        --- PASS: TestAccBedrockAgent_serial/DataSource/hierarchical (1508.57s)
PASS
ok      github.com/hashicorp/terraform-provider-aws/internal/service/bedrockagent       12751.899s

Copy link

github-actions bot commented Oct 1, 2024

Community Note

Voting for Prioritization

  • Please vote on this pull request by adding a 👍 reaction to the original post to help the community and maintainers prioritize this pull request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

For Submitters

  • Review the contribution guide relating to the type of change you are making to ensure all of the necessary steps have been taken.
  • For new resources and data sources, use skaff to generate scaffolding with comments detailing common expectations.
  • 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 documentation Introduces or discusses updates to documentation. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. service/bedrockagent Issues and PRs that pertain to the bedrockagent service. needs-triage Waiting for first response or review from a maintainer. partner Contribution from a partner. labels Oct 1, 2024
@drewtul drewtul marked this pull request as ready for review October 1, 2024 22:24
@drewtul drewtul requested a review from a team as a code owner October 1, 2024 22:24
@ewbankkit ewbankkit added enhancement Requests to existing resources that expand the functionality or scope. and removed needs-triage Waiting for first response or review from a maintainer. labels Oct 2, 2024
@ewbankkit ewbankkit self-assigned this Oct 2, 2024
@github-actions github-actions bot added the prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. label Oct 2, 2024
Copy link
Contributor

@ewbankkit ewbankkit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀.

% ACCTEST_TIMEOUT=720m make testacc TESTARGS='-run=TestAccBedrockAgent_serial/DataSource' PKG=bedrockagent
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.1 test ./internal/service/bedrockagent/... -v -count 1 -parallel 20  -run=TestAccBedrockAgent_serial/DataSource -timeout 720m
=== RUN   TestAccBedrockAgent_serial
=== PAUSE TestAccBedrockAgent_serial
=== CONT  TestAccBedrockAgent_serial
=== RUN   TestAccBedrockAgent_serial/DataSource
=== RUN   TestAccBedrockAgent_serial/DataSource/semantic
=== RUN   TestAccBedrockAgent_serial/DataSource/hierarchical
=== RUN   TestAccBedrockAgent_serial/DataSource/parsing
=== RUN   TestAccBedrockAgent_serial/DataSource/customtransformation
=== RUN   TestAccBedrockAgent_serial/DataSource/basic
=== RUN   TestAccBedrockAgent_serial/DataSource/disappears
=== RUN   TestAccBedrockAgent_serial/DataSource/full
=== RUN   TestAccBedrockAgent_serial/DataSource/update
--- PASS: TestAccBedrockAgent_serial (11793.31s)
    --- PASS: TestAccBedrockAgent_serial/DataSource (11793.31s)
        --- PASS: TestAccBedrockAgent_serial/DataSource/semantic (1533.72s)
        --- PASS: TestAccBedrockAgent_serial/DataSource/hierarchical (1643.23s)
        --- PASS: TestAccBedrockAgent_serial/DataSource/parsing (678.37s)
        --- PASS: TestAccBedrockAgent_serial/DataSource/customtransformation (1493.07s)
        --- PASS: TestAccBedrockAgent_serial/DataSource/basic (1584.46s)
        --- PASS: TestAccBedrockAgent_serial/DataSource/disappears (1547.95s)
        --- PASS: TestAccBedrockAgent_serial/DataSource/full (1595.59s)
        --- PASS: TestAccBedrockAgent_serial/DataSource/update (1716.92s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/bedrockagent	11798.563s

@ewbankkit
Copy link
Contributor

@drewtul Thanks for the contribution 🎉 👏.

@ewbankkit ewbankkit merged commit e2d4b22 into hashicorp:main Oct 2, 2024
47 checks passed
@github-actions github-actions bot added this to the v5.70.0 milestone Oct 2, 2024
Copy link

github-actions bot commented Oct 4, 2024

This functionality has been released in v5.70.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

@github-actions github-actions bot removed the prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. label Oct 4, 2024
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. partner Contribution from a partner. service/bedrockagent Issues and PRs that pertain to the bedrockagent service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
2 participants