From 536b2fabf6da85a61c36851dae29ea060655f68e Mon Sep 17 00:00:00 2001 From: Mark Wunsch Date: Tue, 19 Jul 2016 16:44:15 -0400 Subject: [PATCH] Use GitHub hook url as custom resource physical id --- formation.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/formation.json b/formation.json index 014e2d8..9c15cf8 100644 --- a/formation.json +++ b/formation.json @@ -226,7 +226,7 @@ " res.on('end', () => {", " console.log(`GitHub Status: ${res.statusCode} ${res.statusMessage} ; Body:\\n ${body}`);", " if (res.statusCode === 201) {", - " response.send(event, context, response.SUCCESS, { Value: body });", + " response.send(event, context, response.SUCCESS, { Value: body }, JSON.parse(body).url);", " } else {", " response.send(event, context, response.FAILED);", " };",