diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 395404e..3418005 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/antonbabenko/pre-commit-terraform - rev: v1.88.0 + rev: v1.92.1 hooks: - id: terraform_fmt - id: terraform_docs @@ -24,7 +24,7 @@ repos: - '--args=--only=terraform_unused_required_providers' - id: terraform_validate - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v4.6.0 hooks: - id: check-merge-conflict - id: end-of-file-fixer diff --git a/main.tf b/main.tf index 49d936f..9726c31 100644 --- a/main.tf +++ b/main.tf @@ -347,7 +347,7 @@ resource "aws_glue_schema" "this" { schema_name = each.value.schema_name description = try(each.value.description, null) registry_arn = aws_glue_registry.this[each.value.schema_registry_name].arn - data_format = "AVRO" + data_format = try(each.value.data_format, "AVRO") compatibility = each.value.compatibility schema_definition = each.value.schema_definition