This message was deleted.
# azure
s
This message was deleted.
t
I want to configure the Functions Application with either the primary or secondary key from the Cosmos DB account
You can set web app (function app) settings as a separate resource which would go the last in your program.
a
Thanks! So first the function app, then Cosmos DB and lastly the function app configuration as a separate resource. Is this the "standard" way of handling similar situations in Pulumi? Configuration of a resource can either be set when the actual resource is declared, or as a separate "child" resource?
t
I can’t say if it’s standard… Our current model in azure-native maps ARM resources 1:1 so it’s up to the Azure service teams how they design resource models.
a
So there is not a built-in mechanism in Pulumi that can handle situations where the creation of resource 1 is dependent on outputs from resource 2, which in turn is dependent on outputs from resource 1?
t
No
a
OK, thanks!