You must be logged in to view saved presets
Creates a basic contact flow in Amazon Connect with hardcoded content.
resource "aws_connect_contact_flow" "test" {
content = jsonencode({
Version = "2019-10-30"
StartAction = "12345678-1234-1234-1234-123456789012"
Actions = [
{
Identifier = "12345678-1234-1234-1234-123456789012"
Type = "MessageParticipant"
Transitions = {
NextAction = "abcdef-abcd-abcd-abcd-abcdefghijkl"
Errors = []
Conditions = []
}
Parameters = {
Text = "Thanks for calling the sample flow!"
}
},
{
Identifier = "abcdef-abcd-abcd-abcd-abcdefghijkl"
Type = "DisconnectParticipant"
Transitions = {}
Parameters = {}
}
]
})
description = "Test Contact Flow Description"
instance_id = "aaaaaaaa-bbbb-cccc-dddd-111111111111"
name = "Test"
tags = {
Application = "Terraform"
Method = "Create"
Name = "Test Contact Flow"
}
type = "CONTACT_FLOW"
}