Resource: aws_connect_routing_profile

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

Example Usage

resource "aws_connect_routing_profile" "example" {
  instance_id               = "aaaaaaaa-bbbb-cccc-dddd-111111111111"
  name                      = "example"
  default_outbound_queue_id = "12345678-1234-1234-1234-123456789012"
  description               = "example description"

  media_concurrencies {
    channel     = "VOICE"
    concurrency = 1
  }

  queue_configs {
    channel  = "VOICE"
    delay    = 2
    priority = 1
    queue_id = "12345678-1234-1234-1234-123456789012"
  }

  tags = {
    "Name" = "Example Routing Profile",
  }
}

Argument Reference

This resource supports the following arguments:

A media_concurrencies block supports the following arguments:

A queue_configs block supports the following arguments:

Attribute Reference

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

A queue_configs block supports the following attributes in addition to the arguments defined earlier:

Import

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

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

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

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