Skip to content

Conversation

@thenom
Copy link

@thenom thenom commented Dec 1, 2025

Closes #45331

Adds support for gateway interceptor configurations which allow custom Lambda functions to be invoked during gateway invocations at REQUEST and/or RESPONSE interception points.

Changes

  • Added interceptor_configurations block to aws_bedrockagentcore_gateway resource schema
  • Implemented proper expand/flatten logic for the InterceptorConfiguration union type
  • Added documentation with examples
  • Added acceptance test
  • Supports 1-2 interceptor configurations per gateway
  • Each interceptor can specify REQUEST and/or RESPONSE interception points
  • Lambda function ARN configuration for interceptor execution
  • Optional input configuration to pass request headers to interceptor

Checklist

  • Code follows provider conventions
  • Documentation updated with examples
  • Acceptance test added
  • Changelog entry (will add once PR number is assigned)

Adds support for gateway interceptor configurations which allow custom
Lambda functions to be invoked during gateway invocations at REQUEST
and/or RESPONSE interception points.

Closes hashicorp#45331
@thenom thenom requested a review from a team as a code owner December 1, 2025 21:11
@github-actions
Copy link
Contributor

github-actions bot commented Dec 1, 2025

✅ Thank you for correcting the previously detected issues! The maintainers appreciate your efforts to make the review process as smooth as possible.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 1, 2025

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 needs-triage Waiting for first response or review from a maintainer. documentation Introduces or discusses updates to documentation. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. service/bedrockagentcore Issues and PRs that pertain to the bedrockagentcore service. size/L Managed by automation to categorize the size of a PR. labels Dec 1, 2025
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. needs-triage Waiting for first response or review from a maintainer. service/bedrockagentcore Issues and PRs that pertain to the bedrockagentcore service. size/L Managed by automation to categorize the size of a PR. 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.

Add AgentCore Gateway interceptor support

1 participant