straight-sunset-92336
06/17/2022, 7:43 AMconst myfirstcustomresource= new FirstFunction(functionname, { resourcegroupname: MyResourceGroupName });
const mysecondresource = new Getkeys("keyresource", { resourcegroupname: MyResourceGroupName, keysname: functionname}, { dependsOn: [myfirstcustomresource] })
The deployment tries to create the second resource before the first one is created:
Error: invocation of azure-nativeweblistWebAppHostKeys returned an error: request failed /subscriptions/xxxxx/resourceGroups/<resourcegroupname>/providers/Microsoft.Web/sites/<functionname>/host/default/listkeys: autorest/azure: Service returned an error. Status=404 Code="ResourceNotFound" Message="The Resource 'Microsoft.Web/sites/<functionname>' under resource group <resourcegroupname> was not found.
Any good ideas what could be causing this?No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by