Skip to content

Commit

Permalink
Add Webhook Exports
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Dec 4, 2024
1 parent 0bf1057 commit 0a1217c
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 37 deletions.
14 changes: 14 additions & 0 deletions cloudformation/webhooks.template.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,20 @@ export default cf.merge(
Name: cf.stackName
},
Value: cf.join(['https://', cf.ref('HostedURL')])
},
ParentId: {
Description: 'Base ID of API Gateway',
Export: {
Name: cf.join([cf.stackName, '-rest-base'])
},
Value: cf.getAtt('CloudTAKWebhooksLambdaAPI', 'RootResourceId'),

Check failure on line 113 in cloudformation/webhooks.template.js

View workflow job for this annotation

GitHub Actions / test

Unexpected trailing comma
},
RestApiId: {
Description: 'Base ID of API Gateway',
Export: {
Name: cf.join([cf.stackName, '-rest'])
},
Value: cf.ref('CloudTAKWebhooksLambdaAPI')
}
}
}
Expand Down
71 changes: 34 additions & 37 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0a1217c

Please sign in to comment.