AWS Glue Registry
This page shows how to write Terraform and CloudFormation for AWS Glue Registry and write them securely.
aws_glue_registry (Terraform)
The Registry in AWS Glue can be configured in Terraform with the resource name aws_glue_registry
. The following sections describe 1 example of how to use the resource and its parameters.
Example Usage from GitHub
resource "aws_glue_registry" "msk" {
registry_name = var.cluster_name
}
resource "aws_glue_schema" "example_avro" {
schema_name = format("%s-avro-example", var.cluster_name)
Parameters
-
arn
optional computed - string -
description
optional - string -
id
optional computed - string -
registry_name
required - string -
tags
optional - map from string to string
Explanation in Terraform Registry
Provides a Glue Registry resource.
AWS::Glue::Registry (CloudFormation)
The Registry in Glue can be configured in CloudFormation with the resource name AWS::Glue::Registry
. The following sections describe 6 examples of how to use the resource and its parameters.
Example Usage from GitHub
Type: 'AWS::Glue::Registry'
Properties:
Description: AWS Glue Schema Registry for BFA
Type: 'AWS::Glue::Registry'
Properties:
Description: AWS Glue Schema Registry for BFA
Name: !Ref RegistryName
Tags:
- Key: name
Type: 'AWS::Glue::Registry'
Properties:
Description: AWS Glue Schema Registry for BFA
Name: !Ref RegistryName
Tags:
- Key: name
Type: 'AWS::Glue::Registry'
Properties:
Name: !Sub
- '${StackName}-Staging'
- StackName: !Ref AWS::StackName
GlueRegistryProduction:
"AWS::Glue::Registry": {
"Type": "AWS::Glue::Registry",
"Properties": {}
},
"AWS::Config::ConformancePack": {
"Type": "AWS::Config::ConformancePack",
"resourceType": "AWS::Glue::Registry",
"filePath": null
},
{
"resourceType": "AWS::Glue::Trigger",
"filePath": null
Parameters
-
Name
required - String -
Description
optional - String -
Tags
optional - List of Tag
Explanation in CloudFormation Registry
The AWS::Glue::Registry is an AWS Glue resource type that manages registries of schemas in the AWS Glue Schema Registry.
Frequently asked questions
What is AWS Glue Registry?
AWS Glue Registry is a resource for Glue of Amazon Web Service. Settings can be wrote in Terraform and CloudFormation.
Where can I find the example code for the AWS Glue Registry?
For Terraform, the msfidelis/aws-msk-glue-kafka-setup source code example is useful. See the Terraform Example section for further details.
For CloudFormation, the deepaksadde/cloudformation, deepaksadde/cloudformation and deepaksadde/cloudformation source code examples are useful. See the CloudFormation Example section for further details.