Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  Queue issue while Terraform upgrade to v1.72.2(latest) version

    Posted 7 days ago
    Edited by Rohit Sharma 7 days ago

    Hi Team,

    We are upgrading TF from v1.68.4 to latest version(v1.72.2) and we are facing issue in queues configuration and plan is failing with following error:

    Note: This error is there for many resources giving example message for one of the resources.

    It is showing these changes in the queue configuration:
    module.routing_queue.genesyscloud_routing_queue.test will be updated in-place
      ~ resource "genesyscloud_routing_queue" "test" {
            id                                             = "--some id--"
            name                                           = "test"
            # (29 unchanged attributes hidden)
     
          - bullseye_rings {
              - expansion_timeout_seconds = 2 -> null
              - skills_to_remove          = [] -> null
            }
     
            # (8 unchanged blocks hidden)
        }
        
    And Plan is failing with this error:
    │ Error: Not enough list items
    │ 
    │   with module.routing_queue.genesyscloud_routing_queue.test2,
    │   on modules/routing_queue/test2.tf line 1, in resource "genesyscloud_routing_queue" "test2":
    │    1: resource "genesyscloud_routing_queue" "test2" {
    │ 
    │ Attribute bullseye_rings requires 2 item minimum, but config has only 1
    │ declared.
    1. Why it is mandatory to add two rings?
    2. Why some resources are showing changes and for some it is getting errored out?

    Let us know if you need more information.

    Regards,

    Rohit S


    #CXasCode

    ------------------------------
    Rohit Sharma
    ------------------------------



  • 2.  RE: Queue issue while Terraform upgrade to v1.72.2(latest) version

    Posted 7 days ago

    Hello,

    Hemanth explained the Not enough list items on bulleseye rings ("1. Why it is mandatory to add two rings?") in this other post: https://community.genesys.com/discussion/terraform-provider-error-attribute-bullseye-rings-requires-2-item-minimum-but-config-has-only-1-declared

    Regards,



    ------------------------------
    Jerome Saint-Marc
    Senior Development Support Engineer
    ------------------------------



  • 3.  RE: Queue issue while Terraform upgrade to v1.72.2(latest) version

    Posted 6 days ago

    Hi @Rohit sharma

    The behaviour should be consistent. As Jerome mentioned you can follow this post https://community.genesys.com/discussion/terraform-provider-error-attribute-bullseye-rings-requires-2-item-minimum-but-config-has-only-1-declared

    If you still see this problem  "Why some resources are showing changes and for some it is getting errored out?" , can you elaborate on the use case when this is getting errored out .

    Thanks

    Hemanth



    ------------------------------
    Hemanth Dogiparthi
    Manager, Software Engineering
    ------------------------------