A Command Line Utility for finding a CloudFront Distribution ID
Installation is as simple as any given node module:
$ npm i -g cf-find
From wherever you want to run cf-find
, simply open a console and run
$ cf-find somealias.com
...where somealias.com
is a CloudFront Alias you expect to find a match for.
The --silent
flag will suppress all logs except for the final Distribution ID. Good for CI/CD and other non-user processes.