Resource: aws_connect_vocabulary

Provides an Amazon Connect Vocabulary resource. For more information see Amazon Connect: Getting Started

Example Usage

resource "aws_connect_vocabulary" "example" {
  instance_id   = "aaaaaaaa-bbbb-cccc-dddd-111111111111"
  name          = "example"
  content       = "Phrase\tIPA\tSoundsLike\tDisplayAs\nLos-Angeles\t\t\tLos Angeles\nF.B.I.\tɛ f b i aɪ\t\tFBI\nEtienne\t\teh-tee-en\t"
  language_code = "en-US"
  tags = {
    "Key1" = "Value1"
  }
}

Argument Reference

This resource supports the following arguments:

Timeouts

Configuration options:

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Import

In Terraform v1.5.0 and later, use an import block to import Amazon Connect Vocabularies using the instance_id and vocabulary_id separated by a colon (:). For example:

import {
  to = aws_connect_vocabulary.example
  id = "f1288a1f-6193-445a-b47e-af739b2:c1d4e5f6-1b3c-1b3c-1b3c-c1d4e5f6c1d4e5"
}

Using terraform import, import Amazon Connect Vocabularies using the instance_id and vocabulary_id separated by a colon (:). For example:

% terraform import aws_connect_vocabulary.example f1288a1f-6193-445a-b47e-af739b2:c1d4e5f6-1b3c-1b3c-1b3c-c1d4e5f6c1d4e5