Legacy Dev Forum Posts

 View Only

Sign Up

Error in running plan: error marshaling prior state: unsupported attribute "managed"

  • 1.  Error in running plan: error marshaling prior state: unsupported attribute "managed"

    Posted 06-05-2025 18:32

    Rohit.Sharma3 | 2024-08-14 09:51:02 UTC | #1

    Hi Team,

    We are trying to remove some queue and update some from the system and plan is failing with the following error:

    Failed running command "cd '/terraform' && envdir /env terraform show -json /terraform/terraform.tfplan" (exit 1) Output: Failed to marshal plan to json: error marshaling prior state: unsupported attribute "managed"

    Queue update in place: module.routingqueue.genesyscloudroutingqueue.abcname will be updated in-place ~ resource "genesyscloudroutingqueue" "abcname" { id = "abcID" name = "abcname" ~ skillevaluation_method = "ALL" -> "NONE" (17 unchanged attributes hidden)

          • bullseye_rings {
              • expansiontimeoutseconds = 120 -> null
              • skillstoremove = [
                  • "abcID",

    ] -> null }

    Can you check the issue and suggest?

    Regards, Rohit


    John_Carnell | 2024-08-14 20:28:13 UTC | #2

    Hi Rohit,

    I would look at this HashiCorp article. It sounds like this can happen when you upgrade providers and a property gets added/removed.

    I did a google search on this error too and is source like if you do a terraform refresh -target=resource. This basically updates the state file to match what is in your infrastructure environments/

    Thanks, John Carnell Director, Developer Engagement


    system | 2024-09-13 20:29:08 UTC | #3

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


    This post was migrated from the old Developer Forum.

    ref: 27875