Provides an EventBridge Custom Schema Registry resource.
resource "aws_schemas_registry" "test" {
name = "my_own_registry"
description = "A custom schema registry"
}
This resource supports the following arguments:
name
- (Required) The name of the custom event schema registry. Maximum of 64 characters consisting of lower case letters, upper case letters, 0-9, ., -, _.description
- (Optional) The description of the discoverer. Maximum of 256 characters.tags
- (Optional) A map of tags to assign to the resource. If configured with a provider default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.This resource exports the following attributes in addition to the arguments above:
arn
- The Amazon Resource Name (ARN) of the discoverer.tags_all
- A map of tags assigned to the resource, including those inherited from the provider default_tags
configuration block.In Terraform v1.5.0 and later, use an import
block to import EventBridge schema registries using the name
. For example:
import {
to = aws_schemas_registry.test
id = "my_own_registry"
}
Using terraform import
, import EventBridge schema registries using the name
. For example:
% terraform import aws_schemas_registry.test my_own_registry