I have a workspace in terraform cloud which is using git-based flow. That means when I pushed to my GitHub repo, the plan and apply are running by the Terraform cloud. I see that we can download the state file and run the plan/apply with that state file locally. Is it possible to upload the state file to the same workspace?
Check out the
terraform state push command which does exactly that.