Legacy Dev Forum Posts

 View Only

Sign Up

Terraform Processing the data

  • 1.  Terraform Processing the data

    Posted 06-05-2025 19:24

    Lalitha | 2023-10-04 19:25:24 UTC | #1

    Hi,

    I have around 3320 resources to be created in my tf file. when I ran terraform apply, bunch of resources were created and then terraform throwed couple errors(esp around "genesyscloudauthrole" for creating custom roles). I noticed that not all my data was processed in the input file, for ex: there are 124 Queue resources and only 28 of them were created and none of the errors were related to the queues,. So my question is, will terraform automatically stops processing input file after bunch of errors? and how can I validate which objects were created and which ones are not?

    Thanks, Lalitha


    John_Carnell | 2023-10-04 20:20:18 UTC | #2

    Hi Lalitha,

    CX as Code will stop if it encounters a fatal error while calling one of our APIs. Usually in these types of situations you would run a terraform plan. The "not" created items should up in the plan so you should be able to parse the plan and see what has changed.

    Thanks, John


    Lalitha | 2023-10-04 21:09:30 UTC | #3

    Hi John,

    Thanks for the reply, when I run terraform plan, the data is rolled over and I am not able to get all details. If I am trying to write the plan to a file, "terraform plan -out=tfplan", the data is all gibberish. Is there a way to write the plan to an output file in a readable format.

    Thanks, Lalitha


    system | 2023-11-04 21:10:16 UTC | #4

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 22364