On Fri, Dec 14, 2012 at 09:57:42AM +0100, Patrick Petit wrote:
Hi,
We are seeing a new behavior with Fn::Join in user-data block that
makes our script fail to run. Previous behavior was that no white
space nor line breaks were inserted after a coma (',') or line ends.
But now it's inserting white space plus line break after ','
separated elements... Do you have any idea why?
Thanks
Patrick
_Exemple_:
"Fn::Join":[
"\n",
Here you are specifying "\n" as the delimiter, so the fields are being
joined by a newline. If you replace the "\n" with "" then no newline will
be inserted.
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-join.html
HTH,