Please update docs of workspace settings for terraform_remote_state gcs backend

We know the conversation [1].
Please update the page [2] about workspace option, like below:

data "terraform_remote_state" "foo" {
  backend = "gcs"
  workspace = terraform.workspace
  config = {
    bucket  = "terraform-state"
    prefix  = "prod"


Hi @tomoh1r,

This workspace option is for the terraform_remote_state data source itself, not for the gcs backend in particular, and so it’s covered in the documentation about terraform_remote_state.

Hi @apparentlymart

Thanks for your reply. I got it.

backend of terraform_remote_state do not respect implicit workspace.