Alfred Search CloudFormation
1 min read
cloudformation
Written in 2022. Tools, APIs and prices may have changed since.
Lab note What I wrote down while learning this by building with it. Short by design; the code is in pfeilbr/alfred-search-cloudformation.
Install
git clone https://github.com/pfeilbr/alfred-search-cloudformation.git`
cd alfred-search-cloudformation
npm install
# follow [alfy#usage instructions](https://github.com/sindresorhus/alfy#usage)
# enable "Alfred filters results" checkbox
# symlink workflow directory to here
# example
cd /path/to/Alfred.alfredpreferences/workflows
ln -s /path/to/alfred-search-cloudformation user.workflow.3AFB139F-7BE0-4430-9EE4-36FCD4B2376D

Usage
In Alfred, type cfn, Enter, and your query.
Select an item and press Enter open documentation in browser.
Press Shift to view the link in Quick Look.
To update to latest aws-sdk
Updating CloudFormation Data
pushd data/aws-sdk
git pull
popd
npm run make