Summary:"Can't change 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 %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()),
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(parsedVar.Value),viewsjson.CompactValueStr(plannedVar),parsedVar.SourceType.DiagnosticLabel()),