mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
The "backendConfigNeedsMigration" helper evaluates the backend configuration inline to compare it with the object previously saved in the .terraform/terraform.tfstate file. However, this wasn't updated to use the new "static eval" functionality and so was treating any references to variables or function calls as invalid, causing a spurious "backend configuration changed" error when re-initializing the working directory with identical backend configuration settings. Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
13 lines
326 B
JSON
13 lines
326 B
JSON
{
|
|
"version": 4,
|
|
"terraform_version": "0.14.0",
|
|
"serial": 7,
|
|
"lineage": "configuredUnchanged",
|
|
"outputs": {
|
|
"foo": {
|
|
"type": "string",
|
|
"value": "This is only here so that the state snapshot isn't 'empty' and so can't enter a no-migration-needed fast path."
|
|
}
|
|
}
|
|
}
|