From 172200808b8e6910e6bfe51010cb3aed04d76e6b Mon Sep 17 00:00:00 2001 From: Chris Arcand Date: Mon, 13 Sep 2021 14:21:26 -0500 Subject: [PATCH] Correct terraform.env deprecation message typo --- internal/terraform/evaluate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/terraform/evaluate.go b/internal/terraform/evaluate.go index 6fad6192e..5e746b6d1 100644 --- a/internal/terraform/evaluate.go +++ b/internal/terraform/evaluate.go @@ -911,7 +911,7 @@ func (d *evaluationStateData) GetTerraformAttr(addr addrs.TerraformAttr, rng tfd diags = diags.Append(&hcl.Diagnostic{ Severity: hcl.DiagError, Summary: `Invalid "terraform" attribute`, - Detail: `The terraform.env attribute was deprecated in v0.10 and removed in v0.12. The "state environment" concept was rename to "workspace" in v0.12, and so the workspace name can now be accessed using the terraform.workspace attribute.`, + Detail: `The terraform.env attribute was deprecated in v0.10 and removed in v0.12. The "state environment" concept was renamed to "workspace" in v0.12, and so the workspace name can now be accessed using the terraform.workspace attribute.`, Subject: rng.ToHCL().Ptr(), }) return cty.DynamicVal, diags