Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions cmd/ctrlc/root/sync/aws/networks/networks.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
`),
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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
}

Expand Down