Skip to content

Commit 3f4806e

Browse files
authored
feat: Allow Glue Schema registry data format to be configurable (#32)
1 parent 0496baa commit 3f4806e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/antonbabenko/pre-commit-terraform
3-
rev: v1.88.0
3+
rev: v1.92.1
44
hooks:
55
- id: terraform_fmt
66
- id: terraform_docs
@@ -24,7 +24,7 @@ repos:
2424
- '--args=--only=terraform_unused_required_providers'
2525
- id: terraform_validate
2626
- repo: https://github.com/pre-commit/pre-commit-hooks
27-
rev: v4.5.0
27+
rev: v4.6.0
2828
hooks:
2929
- id: check-merge-conflict
3030
- id: end-of-file-fixer

main.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ resource "aws_glue_schema" "this" {
347347
schema_name = each.value.schema_name
348348
description = try(each.value.description, null)
349349
registry_arn = aws_glue_registry.this[each.value.schema_registry_name].arn
350-
data_format = "AVRO"
350+
data_format = try(each.value.data_format, "AVRO")
351351
compatibility = each.value.compatibility
352352
schema_definition = each.value.schema_definition
353353

0 commit comments

Comments
 (0)