Skip to content
This repository has been archived by the owner on Nov 30, 2018. It is now read-only.

data_source_state: Deprecate environment key in favour of workspace #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Ninir
Copy link

@Ninir Ninir commented Feb 19, 2018

Just hit hashicorp/terraform#17153 (comment), finding the doc not clear. This takes over #9 so that people may benefit from it quickly :)

Just "cherry-picked" hashicorp/terraform#16558 into here, original credit goes to the related PR author, negz.

@@ -31,7 +31,7 @@ resource "aws_instance" "foo" {
The following arguments are supported:

* `backend` - (Required) The remote backend to use.
* `environment` - (Optional) The Terraform environment to use.
* `workspace` - (Optional) The Terraform workspace to use.
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wondering if it's worth specifying The workspace has to be explicitly passed in order for it to be possible to access a different remote workspace name. as per @jbardin 's comment 🤔

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant