Skip to content

Latest commit

 

History

History
97 lines (74 loc) · 1.5 KB

aws_glue_registry.md

File metadata and controls

97 lines (74 loc) · 1.5 KB

aws_glue_registry

back

Index

Terraform

terraform {
  required_providers {
    aws = ">= 3.35.0"
  }
}

top

Example Usage

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

Variables

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

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

Outputs

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