From d383511f1cc85c46fd44912898975b83d2de7dd3 Mon Sep 17 00:00:00 2001 From: Kit Sunde Date: Wed, 4 Apr 2018 16:49:20 +0800 Subject: [PATCH] --module needs to be specified with terrarform output --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e9afa7b..dd86e43 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ In outputs there is **terraform_config** with generated terraform configuration You can paste it directly into new terraform code where you want to start using multiple workspaces: ``` -terraform output terraform_config > tfstate.tf +terraform output --module=config-state terraform_config > tfstate.tf ``` Then follow [documentation](https://www.terraform.io/docs/state/workspaces.html) on how to use workspaces and leverage it when dealing with multiple environments and many people working with code.