https://pulumi.com logo
#general
Title
# general
p

powerful-football-81694

01/20/2019, 9:08 PM
Hi guys! As you know, when configuring an Azure AppService, it is possible to pass connection strings and app settings through the
AppServiceArgs
type defined in
appService.d.ts
. However, I'm wondering how the dependency tracking would work with app settings considering how they are defined. Connection strings are passed like this:
Copy code
readonly connectionStrings?: pulumi.Input<pulumi.Input<{
        name: pulumi.Input<string>;
        type: pulumi.Input<string>;
        value: pulumi.Input<string>;
    }>[]>;
This seems fine to me, as it's using
Input
on all three levels. However, app settings are passed like this:
Copy code
readonly appSettings?: pulumi.Input<{
        [key: string]: any;
    }>;
Will this work as expected if I pass an
Output
as one of the values in that object? I.e. will it correctly create a dependency?
To clarify, I would expect it to be typed more like this:
Copy code
readonly appSettings?: pulumi.Input<{
        [key: string]: pulumi.Input<any>;
    }>;
Any input on this from Pulumi guys? @stocky-spoon-28903 or @white-balloon-205