back
terraform {
required_providers {
aws = ">= 3.35.0"
}
}
top
module "aws_glue_registry" {
source = "./modules/aws/r/aws_glue_registry"
# description - (optional) is a type of string
description = null
# registry_name - (required) is a type of string
registry_name = null
# tags - (optional) is a type of map of string
tags = {}
}
top
variable "description" {
description = "(optional)"
type = string
default = null
}
variable "registry_name" {
description = "(required)"
type = string
}
variable "tags" {
description = "(optional)"
type = map(string)
default = null
}
top
resource "aws_glue_registry" "this" {
# description - (optional) is a type of string
description = var.description
# registry_name - (required) is a type of string
registry_name = var.registry_name
# tags - (optional) is a type of map of string
tags = var.tags
}
top
output "arn" {
description = "returns a string"
value = aws_glue_registry.this.arn
}
output "id" {
description = "returns a string"
value = aws_glue_registry.this.id
}
output "this" {
value = aws_glue_registry.this
}
top