Terraform resource for managing an AWS Transcribe VocabularyFilter.
resource "aws_transcribe_vocabulary_filter" "example" {
vocabulary_filter_name = "example"
language_code = "en-US"
words = ["cars", "bucket"]
tags = {
tag1 = "value1"
tag2 = "value3"
}
}
The following arguments are required:
language_code
- (Required) The language code you selected for your vocabulary filter. Refer to the supported languages page for accepted codes.vocabulary_filter_name
- (Required) The name of the VocabularyFilter.The following arguments are optional:
vocabulary_filter_file_uri
- (Optional) The Amazon S3 location (URI) of the text file that contains your custom VocabularyFilter. Conflicts with words
argument.tags
- (Optional) A map of tags to assign to the VocabularyFilter. If configured with a provider default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.words
- (Optional) - A list of terms to include in the vocabulary. Conflicts with vocabulary_filter_file_uri
argument.This resource exports the following attributes in addition to the arguments above:
id
- VocabularyFilter name.arn
- ARN of the VocabularyFilter.download_uri
- Generated download URI.In Terraform v1.5.0 and later, use an import
block to import Transcribe VocabularyFilter using the vocabulary_filter_name
. For example:
import {
to = aws_transcribe_vocabulary_filter.example
id = "example-name"
}
Using terraform import
, import Transcribe VocabularyFilter using the vocabulary_filter_name
. For example:
% terraform import aws_transcribe_vocabulary_filter.example example-name