09/01/2021, 6:22 AM
hi peeps! I'm trying to create a web app, and then use listWebAppPublishingCredentials to get the scm_uri value, much like this person is trying to do here: The proposed solution makes sense (it's JS):
const webhook = pulumi.all([,])
    .apply(([resourceGroupName, name]) => 
        web.listWebAppPublishingCredentials({ resourceGroupName, name }))
    .apply(creds => creds.scmUri + "/docker/hook");
But when trying to run the same in python, it's basically saying "The web app resource was not found", which makes sense... because I'm trying to create it right before. What would be the right way to solve this? One option is to create a different stack and have them run one after the other but that's something I'd really, really like to avoid.