Provides a Glue Registry resource.
resource "aws_glue_registry" "example" {
registry_name = "example"
}
This resource supports the following arguments:
registry_name
– (Required) The Name of the registry.description
– (Optional) A description of the registry.tags
- (Optional) Key-value map of resource tags. 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
- Amazon Resource Name (ARN) of Glue Registry.id
- Amazon Resource Name (ARN) of Glue Registry.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 Glue Registries using arn
. For example:
import {
to = aws_glue_registry.example
id = "arn:aws:glue:us-west-2:123456789012:registry/example"
}
Using terraform import
, import Glue Registries using arn
. For example:
% terraform import aws_glue_registry.example arn:aws:glue:us-west-2:123456789012:registry/example