Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The shell is interpreting the & in the URL as a command separator. See how each of these are interpreted as separate background commands:

[1]   Done                    /usr/bin/cfn-signal -e 0
[2]   Done                    SignatureMethod=HmacSHA256
[3]-  Done                    AWSAccessKeyId=656537dd84064705a73a8e9bb9c5dd60
[4]+  Done                    SignatureVersion=2

You need to quote the URL:

/usr/bin/cfn-signal -s true '$wait_handle'


/usr/bin/cfn-signal -e 0 ''