[Enhancement] aws_bedrockagentcore_gateway_target: Add target_configuration.mcp.api_gateway configuration block#46916
Conversation
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
|
35ba385 to
32c5394
Compare
ewbankkit
left a comment
There was a problem hiding this comment.
LGTM 🚀.
% make testacc TESTARGS='-run=TestAccBedrockAgentCoreGatewayTarget_' PKG=bedrockagentcore ACCTEST_PARALLELISM=5
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
make: Running acceptance tests on branch: 🌿 HEAD 🌿...
TF_ACC=1 go1.25.8 test ./internal/service/bedrockagentcore/... -v -count 1 -parallel 5 -run=TestAccBedrockAgentCoreGatewayTarget_ -timeout 360m -vet=off
2026/03/20 16:19:15 Creating Terraform AWS Provider (SDKv2-style)...
2026/03/20 16:19:15 Initializing Terraform AWS Provider (SDKv2-style)...
=== RUN TestAccBedrockAgentCoreGatewayTarget_basic
=== PAUSE TestAccBedrockAgentCoreGatewayTarget_basic
=== RUN TestAccBedrockAgentCoreGatewayTarget_disappears
=== PAUSE TestAccBedrockAgentCoreGatewayTarget_disappears
=== RUN TestAccBedrockAgentCoreGatewayTarget_targetConfiguration
=== PAUSE TestAccBedrockAgentCoreGatewayTarget_targetConfiguration
=== RUN TestAccBedrockAgentCoreGatewayTarget_targetConfigurationMCPServer
=== PAUSE TestAccBedrockAgentCoreGatewayTarget_targetConfigurationMCPServer
=== RUN TestAccBedrockAgentCoreGatewayTarget_targetConfigurationAPIGateway
=== PAUSE TestAccBedrockAgentCoreGatewayTarget_targetConfigurationAPIGateway
=== RUN TestAccBedrockAgentCoreGatewayTarget_credentialProvider
=== PAUSE TestAccBedrockAgentCoreGatewayTarget_credentialProvider
=== RUN TestAccBedrockAgentCoreGatewayTarget_credentialProvider_invalid
=== PAUSE TestAccBedrockAgentCoreGatewayTarget_credentialProvider_invalid
=== RUN TestAccBedrockAgentCoreGatewayTarget_metadataConfiguration
=== PAUSE TestAccBedrockAgentCoreGatewayTarget_metadataConfiguration
=== RUN TestAccBedrockAgentCoreGatewayTarget_metadataConfiguration_invalidHeaders
=== PAUSE TestAccBedrockAgentCoreGatewayTarget_metadataConfiguration_invalidHeaders
=== CONT TestAccBedrockAgentCoreGatewayTarget_basic
=== CONT TestAccBedrockAgentCoreGatewayTarget_credentialProvider
=== CONT TestAccBedrockAgentCoreGatewayTarget_targetConfigurationMCPServer
=== CONT TestAccBedrockAgentCoreGatewayTarget_targetConfigurationAPIGateway
=== CONT TestAccBedrockAgentCoreGatewayTarget_metadataConfiguration
--- PASS: TestAccBedrockAgentCoreGatewayTarget_targetConfigurationAPIGateway (64.60s)
=== CONT TestAccBedrockAgentCoreGatewayTarget_targetConfiguration
--- PASS: TestAccBedrockAgentCoreGatewayTarget_basic (77.26s)
=== CONT TestAccBedrockAgentCoreGatewayTarget_disappears
--- PASS: TestAccBedrockAgentCoreGatewayTarget_targetConfigurationMCPServer (85.80s)
=== CONT TestAccBedrockAgentCoreGatewayTarget_credentialProvider_invalid
--- PASS: TestAccBedrockAgentCoreGatewayTarget_metadataConfiguration (85.82s)
=== CONT TestAccBedrockAgentCoreGatewayTarget_metadataConfiguration_invalidHeaders
--- PASS: TestAccBedrockAgentCoreGatewayTarget_credentialProvider_invalid (26.44s)
--- PASS: TestAccBedrockAgentCoreGatewayTarget_disappears (48.67s)
--- PASS: TestAccBedrockAgentCoreGatewayTarget_metadataConfiguration_invalidHeaders (40.57s)
--- PASS: TestAccBedrockAgentCoreGatewayTarget_credentialProvider (147.06s)
--- PASS: TestAccBedrockAgentCoreGatewayTarget_targetConfiguration (159.88s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/bedrockagentcore 230.093s|
@tabito-hara Thanks for the contribution 🎉 👏. |
|
Warning This Issue has been closed, meaning that any additional comments are much easier for the maintainers to miss. Please assume that the maintainers will not see them. Ongoing conversations amongst community members are welcome, however, the issue will be locked after 30 days. Moving conversations to another venue, such as the AWS Provider forum, is recommended. If you have additional concerns, please open a new issue, referencing this one where needed. |
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
This PR adds
target_configuration.mcp.api_gatewayconfiguration block toaws_bedrockagentcore_gateway_targetresource.Relations
Closes #46878
References
https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_CreateGatewayTarget.html
Output from Acceptance Testing