← Back to team overview

openstack team mailing list archive

Re: Problems with Fn::Join

 

Steve,
Yes it does.
Thanks!
Patrick
On 12/14/12 11:22 AM, Steven Hardy wrote:
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,



--
Patrick PETIT
Cloud Computing Lead Architect, Innovative Products
Bull, Architect of an Open World TM
Tél : +33 (0)4 76 29 70 31
Mobile : +33 (0)6 85 22 06 39
http://www.bull.com



References