terraform-workspace should be terraform.workspace

Closes #28881 by @abidmunirmalik
This commit is contained in:
Daniel Schmidt 2021-07-26 09:41:51 +02:00 committed by GitHub
parent e09b831f6e
commit 59dd7f8f51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ or some other value if not:
module "example" {
# ...
name_prefix = "app-${terraform-workspace}"
name_prefix = "app-${terraform.workspace}"
}
```