hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.74k stars 9.1k forks source link

[Enhancement]: Add support for concurrency cross channel behaviour to aws_connect_routing_profile #35018

Open nexavolve-colin opened 8 months ago

nexavolve-colin commented 8 months ago

Description

We are not currently able to manage Amazon Connect routing profile cross-channel concurrency behaviour with the aws_connect_routing_profile resource.

Affected Resource(s) and/or Data Source(s)

aws_connect_routing_profile

Potential Terraform Configuration

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
    behaviour   = "ROUTE_CURRENT_CHANNEL_ONLY"
  }

  media_concurrencies {
    channel     = "CHAT"
    concurrency = 1
    behaviour   = "ROUTE_ANY_CHANNEL"
  }

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

  queue_configs {
    channel  = "CHAT"
    delay    = 0
    priority = 1
    queue_id = "12345678-1234-1234-1234-123456789012"
  }

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

References

https://docs.aws.amazon.com/connect/latest/APIReference/API_CreateRoutingProfile.html https://docs.aws.amazon.com/connect/latest/APIReference/API_UpdateRoutingProfileConcurrency.html

Would you like to implement a fix?

None

github-actions[bot] commented 8 months ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue