From 0a35a068c3f26193074dd73e027d56bceba336e3 Mon Sep 17 00:00:00 2001 From: Daniel Barnes Date: Thu, 29 Jan 2026 04:54:12 +0900 Subject: [PATCH] fix: Add additional logging context to aws network sync --- cmd/ctrlc/root/sync/aws/networks/networks.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/ctrlc/root/sync/aws/networks/networks.go b/cmd/ctrlc/root/sync/aws/networks/networks.go index b03ad45..d3240a7 100644 --- a/cmd/ctrlc/root/sync/aws/networks/networks.go +++ b/cmd/ctrlc/root/sync/aws/networks/networks.go @@ -30,7 +30,7 @@ func NewSyncNetworksCmd() *cobra.Command { Short: "Sync AWS VPC networks and subnets into Ctrlplane", Example: heredoc.Doc(` # Make sure AWS credentials are configured via environment variables or application default credentials - + # Sync all VPC networks and subnets from a region $ ctrlc sync aws networks --region my-region `), @@ -205,7 +205,7 @@ func processNetworks( nextToken = output.NextToken } - log.Info("Found vpcOutput", "count", len(vpcs)) + log.Info("Found vpcOutput", "count", len(vpcs), "region", region) resources := make([]api.ResourceProviderResource, 0) for _, vpc := range vpcs { @@ -329,7 +329,7 @@ func processSubnets(_ context.Context, subnets []types.Subnet, region string) ([ subnetCount++ } - log.Info("Processed subnets", "count", subnetCount) + log.Info("Processed subnets", "count", subnetCount, "region", region) return resources, nil }