-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Terraform remote state push -force fails lineage check #24916
Copy link
Copy link
Closed
Description
Terraform Version
v0.12.20
Expected Behavior
The state should be pushed to the remote and forced over any existing state
Actual Behavior
$ tf state push -force 1.tfstate
Failed to persist state: Error uploading state: Conflict
The lineage provided in the state file does not match the value
currently known by Terraform Enterprise. This means that the provided
state is most likely not related to the target workspace. Check that
the backend configuration is correct and try again.
Additional Context
terraform {
backend "remote" {
hostname = "hostname"
organization = "org"
workspaces {
name = "workspace_name"
}
}
}
References
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels