https://pulumi.com logo
#python
Title
# python
g

green-school-95910

08/28/2020, 8:05 PM
Yes, the code inside the apply is executed during the deployment, when that information (the id) is guaranteed to be available The code outside is executed before the deployment, it is the code that define the graph of resources. When that code is running, the id is not known, only the reference to its future value (the Output object) is available.