Custom Resources Lifecycle

0

I am building some custom resources and had a question around the lifecycle of a stack.

When I create a stack with my resource defined in my yaml file, my custom python script runs the create event and receives the data to create the resources. Now the resources return an ID that will be needed to remove the resource if it is updated or backed out.
Where is this ID stored if I return it, I thought the physicalresourceid would be the place but it has been replaced with
2021/02/09/[$LATEST]add1787e220941c189a343f683da7ea1.

thanks in advance

m66rus
demandé il y a 3 ans214 vues
1 réponse
0

Ok i found the issue the helper i used had a bug in it. It was storing the wrong data in the field

m66rus
répondu il y a 3 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions