1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
1
I don't see a way to do it, but here's an idea for a workaround that may help depending on how you invoke stack create/update. Add a "StackName" parameter to your template, and set it to the name of the stack when it's created. Template parameters like this get passed to the Lambda function.
Contenus pertinents
- demandé il y a 3 mois
- demandé il y a 3 mois
- demandé il y a 2 ans
- AWS OFFICIELA mis à jour il y a un an
Thanks for your response. Yes, I managed to get it working using parameters and accessing the parameter in the handler using 'event.templateParameterValues.stack'. I was expecting a more direct way to get this value as CF is already aware of the stack name.