Creates a basic contact flow module in Amazon Connect with hardcoded content.

Terraform Template

resource "aws_connect_contact_flow_module" "example" {
  content = jsonencode({
 Version = "2019-10-30"
 StartAction = "12345678-1234-1234-1234-123456789012"
 Actions = [
 {
 Identifier = "12345678-1234-1234-1234-123456789012"

 Parameters = {
 Text = "Hello contact flow module"
 }

 Transitions = {
 NextAction = "abcdef-abcd-abcd-abcd-abcdefghijkl"
 Errors = []
 Conditions = []
 }

 Type = "MessageParticipant"
 },
 {
 Identifier = "abcdef-abcd-abcd-abcd-abcdefghijkl"
 Type = "DisconnectParticipant"
 Parameters = {}
 Transitions = {}
 }
 ]
 Settings = {
 InputParameters = []
 OutputParameters = []
 Transitions = [
 {
 DisplayName = "Success"
 ReferenceName = "Success"
 Description = ""
 },
 {
 DisplayName = "Error"
 ReferenceName = "Error"
 Description = ""
 }
 ]
 }
 })
  description = "Example Contact Flow Module Description"
  instance_id = "aaaaaaaa-bbbb-cccc-dddd-111111111111"
  name = "Example"

  tags = {
    Application = "Terraform"
    Method = "Create"
    Name = "Example Contact Flow Module"
  }
}