Good afternoon all, has anyone ran into or found a...
# general
s
Good afternoon all, has anyone ran into or found a workaround for this issue here: https://github.com/pulumi/pulumi-azure-native/issues/866 It relates to creating the following Pulumi Azure Resource:
WebAppSwiftVirtualNetworkConnectionSlot
I am able to create the
WebAppSwiftVirtualNetworkConnection
(non-slot variant) fine, just having issues with the slot. Inside the error message, it says the resource already exists, and going to the resource ID on azure, it does. But the subnet I tried to link to the webapp slot does not show up under the networking tab. Error message inside pipeline:
Copy code
error: cannot create already existing subresource '/subscriptions/<sub>/resourceGroups/<rg>/providers/Microsoft.Web/sites/<webapp>/slots/deploy/networkConfig/virtualNetwork
Update: I have done some testing, and created band new ASP's and WebApps, without any networking aspects. After, creation. the resource above will
network/virtualNetwork
component always exist. Due to that the
WebAppSwiftVirtualNetworkConnectionSlot
will always fail. The API is either checking the wrong resource, or its using the wrong API in the background to try update it.