-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocument_data_extraction.tf
More file actions
37 lines (33 loc) · 1.06 KB
/
document_data_extraction.tf
File metadata and controls
37 lines (33 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
locals {
document_data_extraction_config = var.enable_document_data_extraction ? {
name = "${var.app_name}-${var.environment}"
input_bucket_name = "${local.bucket_name}-dde-input"
output_bucket_name = "${local.bucket_name}-dde-output"
# List of blueprint file paths or ARNs
# File paths are relative to the service directory
# ARNs reference AWS-managed or existing custom blueprints
blueprints = [
"./document-data-extraction-blueprints/*"
]
# BDA can only be deployed to us-east-1, us-west-2, and us-gov-west-1
# TODO(https://github.com/navapbc/template-infra/issues/993) Add GovCloud Support
bda_region = "us-east-1"
standard_output_configuration = {
image = {
extraction = {
bounding_box = {
state = "ENABLED"
}
category = {
state = "ENABLED"
types = ["TEXT_DETECTION", "LOGOS"]
}
}
generative_field = {
state = "ENABLED"
types = ["IMAGE_SUMMARY"]
}
}
}
} : null
}