Summary:"Can't set variable when applying a saved plan",
Detail:fmt.Sprintf("The variable %s cannot be set using the -var and -var-file options when applying a saved plan file, because a saved plan includes the variable values that were set when it was created. The saved plan specifies %q as the value whereas during apply the value %q was %s. To declare an ephemeral variable which is not saved in the plan file, use ephemeral = true.",varName,v.Value.GoString(),val.GoString(),v.SourceType.DiagnosticLabel()),
Detail:fmt.Sprintf("The variable %s cannot be set using the -var and -var-file options when applying a saved plan file, because a saved plan includes the variable values that were set when it was created. The saved plan specifies %s as the value whereas during apply the value %s was %s. To declare an ephemeral variable which is not saved in the plan file, use ephemeral = true.",varName,viewsjson.CompactValueStr(v.Value),viewsjson.CompactValueStr(val),v.SourceType.DiagnosticLabel()),