Terraform errors

Hi, I am currently getting the following error when Planning or Applying a terraform from inline source and I am not too sure where to go from here.

April 24th 2018 17:28:00Info
Substituting variables in: C:\Octopus\Work\20180424072758-414228-12\Script.ps1 
April 24th 2018 17:28:00Error
Value cannot be null. 
April 24th 2018 17:28:00Error
Parameter name: path1 
April 24th 2018 17:28:00Error
System.ArgumentNullException 
April 24th 2018 17:28:00Error
   at System.IO.Path.Combine(String path1, String path2) 
April 24th 2018 17:28:00Error
   at Calamari.Integration.FileSystem.CalamariPhysicalFileSystem.<>c__DisplayClass20_0.<EnumerateWithGlob>b__0(String pattern) 
April 24th 2018 17:28:00Error
   at System.Linq.Enumerable.<SelectManyIterator>d__17`2.MoveNext() 
April 24th 2018 17:28:00Error
   at System.Linq.Lookup`2.Create[TSource](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer) 
April 24th 2018 17:28:00Error
   at System.Linq.GroupedEnumerable`3.GetEnumerator() 
April 24th 2018 17:28:00Error
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext() 
April 24th 2018 17:28:00Error
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext() 
April 24th 2018 17:28:00Error
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) 
April 24th 2018 17:28:00Error
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) 
April 24th 2018 17:28:00Error
   at Calamari.Deployment.Conventions.SubstituteInFilesConvention.MatchingFiles(RunningDeployment deployment, String target) 
April 24th 2018 17:28:00Error
   at Calamari.Deployment.Conventions.SubstituteInFilesConvention.Install(RunningDeployment deployment) 
April 24th 2018 17:28:00Error
   at Calamari.Commands.RunScriptCommand.Execute(String[] commandLineArguments) 
April 24th 2018 17:28:00Error
   at Calamari.Program.Execute(String[] args) 
April 24th 2018 17:28:00Fatal
The remote script failed with exit code 100 
April 24th 2018 17:28:00Fatal
The action Test plan on the Octopus Server failed 

My inline source is simply as follows

resource “aws_instance” “example” {
instance_type = “m3.medium”
tags {
Name = “My EC2 Instance”
}
}

Hi Linden,

Thanks for getting in touch, sorry you have encountered an issue with the Terraform templates.

This looks like a bug in that process and I have raised a GitHub issue which you can track to find out when it gets resolved.

Regards
Ben