Skip to content

[New Resource]: aws_bedrockagentcore_registry, aws_bedrockagentcore_registry_record #48501

Description

@ari-luokkala

Description

The AWS Terraform provider (v6.51) supports most Amazon Bedrock AgentCore resources (bedrockagentcore_gateway, bedrockagentcore_agent_runtime,bedrockagentcore_memory, bedrockagentcore_policy_engine, etc.) but is missing support for Agent Registry and Registry Records.

The Agent Registry API is available via bedrock-agentcore-control and enables organizations to create a centralized catalog of MCP servers, A2A agents, agent skills, and custom resources for discovery.

Affected Resource(s) or Data Source(s)

Resource API Operations
aws_bedrockagentcore_registry CreateRegistry, GetRegistry, UpdateRegistry, DeleteRegistry
aws_bedrockagentcore_registry_record CreateRegistryRecord, GetRegistryRecord, UpdateRegistryRecord, DeleteRegistryRecord
Data Source API Operation
aws_bedrockagentcore_registry GetRegistry
aws_bedrockagentcore_registries ListRegistries
  • aws_bedrockagentcore_registry (new)
  • aws_bedrockagentcore_registry_record (new)

Potential Terraform Configuration

resource "aws_bedrockagentcore_registry" "this" {
  name        = "my-agent-registry"
  description = "Organization-wide agent and tool registry"

  authorizer_type = "CUSTOM_JWT"

  authorizer_configuration {
    custom_jwt_authorizer {
      discovery_url   = "https://login.microsoftonline.com/TENANT_ID/v2.0/.well-known/openid-configuration"
      allowed_clients = ["CLIENT_ID"]
    }
  }

  approval_configuration {
    auto_approval = true
  }
}

resource "aws_bedrockagentcore_registry_record" "mcp_server" {
  registry_id     = aws_bedrockagentcore_registry.this.id
  name            = "my-mcp-server"
  description     = "MCP server for weather data"
  descriptor_type = "MCP"

  synchronization_type = "URL"

  synchronization_configuration {
    from_url {
      url = "https://my-mcp-server.example.com/mcp"

      credential_provider_configurations {
        credential_provider_type = "IAM"

        credential_provider {
          iam_credential_provider {
            service = "bedrock-agentcore"
            region  = "eu-west-1"
          }
        }
      }
    }
  }
}
  

References

Relates #48381.

Would you like to implement the enhancement?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementRequests to existing resources that expand the functionality or scope.new-resourceIntroduces a new resource.service/bedrockagentcoreIssues and PRs that pertain to the bedrockagentcore service.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions