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

glue.tf#L1
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)

Review your Terraform file for AWS best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Parameters

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

Create_Schema_Registry_Standalone.yml#L9
    Type: 'AWS::Glue::Registry'
    Properties:
     Description: AWS Glue Schema Registry for BFA
Create_Schema_Registry_And_Schema_Without_Checkpoint.yml#L18
    Type: 'AWS::Glue::Registry'
    Properties:
     Description: AWS Glue Schema Registry for BFA
     Name: !Ref RegistryName
     Tags:
      - Key: name
Create_Schema_Registry_And_Schema.yml#L18
    Type: 'AWS::Glue::Registry'
    Properties:
     Description: AWS Glue Schema Registry for BFA
     Name: !Ref RegistryName
     Tags:
      - Key: name
MSKFoundation.yaml#L216
    Type: 'AWS::Glue::Registry'
    Properties:
      Name: !Sub
        - '${StackName}-Staging'
        - StackName: !Ref AWS::StackName
  GlueRegistryProduction:
template.json#L2671
    "AWS::Glue::Registry": {
      "Type": "AWS::Glue::Registry",
      "Properties": {}
    },
    "AWS::Config::ConformancePack": {
      "Type": "AWS::Config::ConformancePack",
awsResouceIconMatches.json#L1390
        "resourceType": "AWS::Glue::Registry",
        "filePath": null
      },
      {
        "resourceType": "AWS::Glue::Trigger",
        "filePath": null

Parameters

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.