Skip to content

Commit bb8c768

Browse files
committed
chore: additional logging context
1 parent 25847e7 commit bb8c768

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/ctrlc/root/sync/aws/networks/networks.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ func processNetworks(
206206
nextToken = output.NextToken
207207
}
208208

209-
log.Info("Found vpcOutput", "count", len(vpcs), "region", region)
209+
log.Info("Found vpcOutput", "count", len(vpcs), "region", region, "accountId", accountId)
210210

211211
resources := make([]api.ResourceProviderResource, 0)
212212
for _, vpc := range vpcs {
@@ -235,7 +235,7 @@ func processNetwork(
235235
consoleUrl := getVpcConsoleUrl(vpc, region)
236236
metadata["ctrlplane/links"] = fmt.Sprintf("{ \"AWS Console\": \"%s\" }", consoleUrl)
237237

238-
log.Debug("Processed Network", "region", region, "name", vpcName, "id", *vpc.VpcId, "subnetCount", len(subnets))
238+
log.Debug("Processed Network", "accountId", accountId, "region", region, "name", vpcName, "id", *vpc.VpcId, "subnetCount", len(subnets))
239239
return api.ResourceProviderResource{
240240
Version: "ctrlplane.dev/network/v1",
241241
Kind: "AmazonNetwork",

0 commit comments

Comments
 (0)