diff --git a/hcl2template/types.packer_config.go b/hcl2template/types.packer_config.go index d170649b9..d9148d615 100644 --- a/hcl2template/types.packer_config.go +++ b/hcl2template/types.packer_config.go @@ -319,7 +319,7 @@ func (c *PackerConfig) recursivelyEvaluateLocalVariable(local *LocalBlock, depth return hcl.Diagnostics{&hcl.Diagnostic{ Severity: hcl.DiagError, Summary: "Max local recursion depth exceeded.", - Detail: "An error occured while recursively evaluating locals." + + Detail: "An error occurred while recursively evaluating locals." + "Your local variables likely have a cyclic dependency. " + "Please simplify your config to continue. ", }} @@ -428,7 +428,7 @@ func (cfg *PackerConfig) recursivelyEvaluateDatasources(ref DatasourceRef, depen diags = append(diags, &hcl.Diagnostic{ Severity: hcl.DiagError, Summary: "Max datasource recursion depth exceeded.", - Detail: "An error occured while recursively evaluating data " + + Detail: "An error occurred while recursively evaluating data " + "sources. Either your data source depends on more than ten " + "other data sources, or your data sources have a cyclic " + "dependency. Please simplify your config to continue. ", diff --git a/website/content/docs/communicators/winrm.mdx b/website/content/docs/communicators/winrm.mdx index c892f374b..9ab656b68 100644 --- a/website/content/docs/communicators/winrm.mdx +++ b/website/content/docs/communicators/winrm.mdx @@ -182,8 +182,8 @@ cmd.exe /c net start winrm ``` Please note that having WinRM auto-launch on all start ups may not be the right -choice for you, if you don't need the server to recieve WinRM connections in the -future. Clean up after yourself and close unnecesary firewall ports at a final +choice for you, if you don't need the server to receive WinRM connections in the +future. Clean up after yourself and close unnecessary firewall ports at a final provisioning step to make sure your image is secure. #### Configuring WinRM in the Cloud