Terraform show and Saved plan is stale (while apply is running)


I made a plan:

terraform plan -out myplan
terraform apply myplan

And while I’m running it, I would like to reinspect it in another terminal:

 terraform show myplan 
│ Error: Saved plan is stale
│ The given plan file can no longer be applied because the state was changed by
│ another operation after the plan was created.

As the plan is quite long to execute, it a good opportunity to look into the details while it’s running.

Actually the plan did fail about Azure API change issue probably.

and after terraform stopped it’s still Saved plan is stale. :frowning:

what would be the practical way to view a plan? (ignoring its stale state or not)

EDIT, may be a newer version may help…

terraform version
Terraform v1.0.9
on linux_amd64
+ provider registry.terraform.io/hashicorp/azuread v2.3.0
+ provider registry.terraform.io/hashicorp/azurerm v2.77.0
+ provider registry.terraform.io/hashicorp/null v3.1.0
+ provider registry.terraform.io/hashicorp/random v3.1.0

Your version of Terraform is out of date! The latest version
is 1.1.0. You can update by downloading from https://www.terraform.io/downloads.html