New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export ServiceToken for cross-stack references #51

Closed
jancona opened this Issue Nov 11, 2016 · 6 comments

Comments

Projects
None yet
3 participants
@jancona

jancona commented Nov 11, 2016

Now that CF has cross-stack references, would it make sense to export the Lambda ARN so that stacks can retrieve it using ImportValue?

Note that the exported names are global to the account and region, so you might want to qualify it with the stack name of the creating stack, e.g. {StackName}:APIGatewayCloudFormation:ServiceToken

Or perhaps there's another simple way to do this that I'm not aware of.

@carlnordenfelt

This comment has been minimized.

Owner

carlnordenfelt commented Nov 13, 2016

That's not a bad idea since it would be a backwards compatible change unlike naming the function.

@svozza

This comment has been minimized.

Contributor

svozza commented Apr 27, 2017

I'd really like this functionality, would you accept a PR?

@carlnordenfelt

This comment has been minimized.

Owner

carlnordenfelt commented Apr 27, 2017

@svozza

This comment has been minimized.

Contributor

svozza commented Apr 27, 2017

Great! Do you mind if I convert the template to yaml?

@carlnordenfelt

This comment has been minimized.

Owner

carlnordenfelt commented Apr 27, 2017

@svozza

This comment has been minimized.

Contributor

svozza commented Apr 27, 2017

No probs, that's why I thought I'd ask first!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment