# Is there a tfe\_organization datasource or similar?

**URL:** <https://discuss.hashicorp.com/t/is-there-a-tfe-organization-datasource-or-similar/10629>\
**Category:** Terraform\
**Created:** [June 25, 2020, 10:54pm UTC](https://discuss.hashicorp.com/t/is-there-a-tfe-organization-datasource-or-similar/10629 "2020-06-25T22:54:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bengiddins](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/bengiddins/32/8529_2.png) [@bengiddins](https://discuss.hashicorp.com/u/bengiddins)\
**Post date:** [June 25, 2020, 10:54pm UTC](https://discuss.hashicorp.com/t/is-there-a-tfe-organization-datasource-or-similar/10629/1 "2020-06-25T22:54:08Z")

</div>

I’m trying to access the current organization’s name in Terraform Cloud to use in terraform\_remote\_state blocks for accessing outputs from other workspaces - is there a way to get the “current” organization, or do I need to manually specify it as a workspace variable? I’ve just come across the situation where I have a second organization and a hardcoded organization name no longer cuts it.

```
data "terraform_remote_state" "vpc" {
  backend = "remote"
  config = {
    organization = "my_org"
    workspaces = {
      name = var.tf_vpc
    }
  }
}
```
