I found in the azure virtual network deployment using automation-api that when I run the stack repeatedly, there is a phenomenon that the resources are rebuilt. In fact, I have not changed the network configuration.
My output is as follows:
Refreshing (network):
~ pulumi
pulumiStack pulumi-prod-network refreshing
pulumi
pulumiStack pulumi-prod-network running
~ azure-native
resourcesResourceGroup cnn3-pulumi-network-rg refreshing
~ azure-native
networkRouteTable cnn3-pulumi-prod-app-rb01 refreshing
~ azure-native
networkVirtualNetwork cnn3-pulumi-prod-vnet01 refreshing
~ azure-native
networkSubnet app-subnet refreshing
~ azure-native
networkRouteTable cnn3-pulumi-prod-db-rb01 refreshing
~ azure-native
networkSubnet db-subnet refreshing
~ azure-native
networkNetworkSecurityGroup cnn3-pulumi-prod-app-nsg01 refreshing
~ azure-native
networkNetworkSecurityGroup cnn3-pulumi-prod-db-nsg01 refreshing
azure-native
resourcesResourceGroup cnn3-pulumi-network-rg
~ azure-native
networkRouteTable cnn3-pulumi-prod-app-rb01 updated [diff: +subnets~etag]
azure-native
networkSubnet app-subnet
~ azure-native
networkVirtualNetwork cnn3-pulumi-prod-vnet01 updated [diff: ~etag,subnets]
~ azure-native
networkNetworkSecurityGroup cnn3-pulumi-prod-db-nsg01 updated [diff: +subnets~defaultSecurityRules,etag]
~ azure-native
networkNetworkSecurityGroup cnn3-pulumi-prod-app-nsg01 updated [diff: +subnets~defaultSecurityRules,etag]
~ azure-native
networkRouteTable cnn3-pulumi-prod-db-rb01 updated [diff: +subnets~etag]
azure-native
networkSubnet db-subnet
pulumi
pulumiStack pulumi-prod-network
Resources:
~ 5 updated
4 unchanged
Duration: 5s
Refreshing (resources):
~ pulumi
pulumiStack pulumi-prod-resources refreshing
pulumi
pulumiStack pulumi-prod-resources running
pulumi
pulumiStack pulumi-prod-resources
Resources:
1 unchanged
Duration: 1s
E0516 01
2010.189403400 5621
socket_utils_common_posix.cc:223] check for SO_REUSEPORT: {"created":"@1652635210.189353600","description":"Protocol not available","errno":92,"file":"src/core/lib/iomgr/socket_utils_common_posix.cc","file_line":202,"os_error":"Protocol not available","syscall":"getsockopt(SO_REUSEPORT)"}
E0516 01
2010.193124300 5621
fork_posix.cc:76] Other threads are currently calling into gRPC, skipping fork() handlers
Updating (network):
pulumi
pulumiStack pulumi-prod-network running
azure-native
resourcesResourceGroup cnn3-pulumi-network-rg
~ azure-native
networkVirtualNetwork cnn3-pulumi-prod-vnet01 updating [diff: -subnets]
~ azure-native
networkVirtualNetwork cnn3-pulumi-prod-vnet01 updated [diff: -subnets]
azure-native
networkNetworkSecurityGroup cnn3-pulumi-prod-app-nsg01
azure-native
networkRouteTable cnn3-pulumi-prod-app-rb01
azure-native
networkNetworkSecurityGroup cnn3-pulumi-prod-db-nsg01
azure-native
networkRouteTable cnn3-pulumi-prod-db-rb01
azure-native
networkSubnet app-subnet
azure-native
networkSubnet db-subnet
pulumi
pulumiStack pulumi-prod-network
Resources:
~ 1 updated
8 unchanged
Duration: 10s
E0516 01
2026.896494800 5621
fork_posix.cc:76] Other threads are currently calling into gRPC, skipping fork() handlers
E0516 01
2028.804288700 5621
fork_posix.cc:76] Other threads are currently calling into gRPC, skipping fork() handlers
E0516 01
2030.265914000 5621
fork_posix.cc:76] Other threads are currently calling into gRPC, skipping fork() handlers
network update summary:
{
"same": 8,
"update": 1
}