pacmax beta

Alfred Pac by rkoval on GitHub

Alfred Aws Console Services Workflow

A powerful workflow for quickly opening up AWS Console Services in your browser or searching for entities within them.

From their README

AWS Console Services – Alfred Workflow

build

A powerful workflow for quickly opening up AWS Console Services in your browser or searching for entities within them.

Supports Alfred 3, 4, and 5

AWS Console Services - Alfred Workflow Demo

Installation

  • Download and extract the latest release
  • Open the .alfredworkflow file in Finder
  • Set up your AWS configuration in the standard AWS config files:
    • For traditional access key authentication: Configure your credentials in ~/.aws/credentials
    • For AWS SSO authentication: Configure your SSO profiles in ~/.aws/config
    • Set your preferred region in ~/.aws/config
    • This workflow will use your default profile by default
    • See the official AWS docs for more info on how to configure these files

Usage

To use, activate Alfred and type aws to trigger this workflow. From there:

  • type any search term to search for services
  • if the current service result has a πŸ—‚ in the subtitle, press Tab to autocomplete into sub-services (for example, navigate to "Security Groups" within the "EC2" service)
  • keep typing after autocompleting to filter sub-services
  • if the current sub-service result has a πŸ”Ž in the subtitle, press Tab again to start searching for its entities (for example, you can search for EC2 Instances when tabbed to aws ec2 instances )

At any time:

  • press Enter to open the current result in your default browser
  • press ⌘+Enter to copy the result's URL to clipboard.

Note that you must be logged in for the page to open directly to your service. See this config file for the full list of supported services and their sub-services and this file for the list of supported searchers.

Advanced Features

  • Fuzzy filtering a la Sublime Text is supported
  • Configurable workflow environment variables
    • Search alias – If a sub-service has a ⭐ in the subtitle, you can use , as an alias for it to more quickly search for that entity. For example, in this workflow, the EC2 service's default entity is an EC2 instance, so aws ec2 ,searchterm is a shorter alias for aws ec2 instances searchterm. You can customize this alias by setting the ALFRED_AWS_CONSOLE_SERVICES_WORKFLOW_SEARCH_ALIAS environment variable to any other string.
    • Region override - By default, searchers will use the region configured in your ~/.aws/config file. However, you can override this on a single query basis by typing $. This workflow will then populate a list of regions to select for this query. You can customize this alias by setting the ALFRED_AWS_CONSOLE_SERVICES_OVERRIDE_AWS_REGION_ALIAS environment variable to any other string.
    • Profile override - By default, searchers will use the default profile. You can override this on a single query basis by typing @. This workflow will find and populate:
      • Traditional IAM profiles from your ~/.aws/credentials file
      • AWS SSO profiles from your ~/.aws/config file
      • You can customize this alias by setting the ALFRED_AWS_CONSOLE_SERVICES_OVERRIDE_AWS_PROFILE_ALIAS environment variable to any other string.
    • Cache expiration age – Sub-service entity searching makes heavy use of caching to make filtering performant and to prevent handling big requests/responses to/from AWS on every execution. The cache expiration age for each entity is set to 3 minutes by default. If you find that this is too short/long for your usage, you can set the ALFRED_AWS_CONSOLE_SERVICES_WORKFLOW_MAX_CACHE_AGE_SECONDS environment variable to the number of seconds that better suits your need.
    • Custom AWS Management Console domain – If your AWS account's management console lives at a domain that is not the standard "console.amazonaws.com", you can set a custom domain with the ALFRED_AWS_CONSOLE_SERVICES_WORKFLOW_AWS_CONSOLE_DOMAIN environment variable. This workflow will then populate all relevant URLs with that domain when opening links.
    • AWS settings – You can override any/all AWS configuration values which the underlying AWS library should respect.

Contributing

See this README

Packaging for Release

See this README

Donating

Like this workflow? Consider donating! 😻

Latest release

19 earlier releases
  • 6.1.11 year ago

    Changes

    User-facing

    • Fixed updater not detecting that you're on the most recent version (resolves this issue)
  • 6.1.01 year ago

    Changes

    User-facing

    Internal

    • Upgraded go version for development (1.22 -> 1.24)
    • Updated internal AWS SDKs

    Thanks to everyone who contributed to this release!!

  • 6.0.02 years ago, 242 BDownload

    Changes

    [!IMPORTANT] This release is now signed with Apple's most recent notarytool standard, which is a different process from before. Please let me know if you encounter issues when installing this new version!

    User-facing

    Internal

    • Upgraded go version for development (1.19 -> 1.22)
    • Updated package signing/notarizing process to use latest Apple standard
  • 5.2.13 years ago, 242 BDownload

    Changes

    User-facing

    • Made underlying binary cross-compatible with arm- and Intel-based Macs. If you had issues installing 5.2.0 on an Intel-based Mac, please try this release instead (sorry!)
  • 5.2.03 years ago, 242 BDownload

    EDIT: THIS RELEASE WAS NOT COMPATIBLE WITH INTEL-BASED MACS. Please install 5.2.1 or later instead if you are on that architecture

    Please ignore the .alfredworkflow file attached to this release. The .zip file is the only one you should care about! (I am trying to see if this fixes the auto-updater from this comment)

    Changes

    User-facing

    • Added CloudShell
    • Added AWS Resource Explorer

    Internal

    • Upgraded go version for development
  • 5.1.04 years ago, 7.1 MBDownload

    Changes

    User-facing

    • Added CodePipeline Pipelines searcher

    Internal

    • Updated go version to 1.18.2 to utilize proper generics
  • 5.0.14 years ago, 6.5 MBDownload

    Changes

    User-facing

    • Fixed Elasticsearch/OpenSearch URL in AWS
  • 5.0.05 years ago, 6.5 MBDownload

    Another major release here! Lots of goodies in this one. The most noteworthy change is that this workflow is now properly signed and notarized for macOS Gatekeeper! As a result, you should no longer need the security exception in macOS Developer Tools settings for this specific workflow. πŸ”

    For more details on the rest of the changes, see the list below. Thanks again for using this workflow! Please consider donating if you are enjoying using it!

    Changes

    User-facing

    • BREAKING: Many top-level service URLs no longer go to their marketing landing page, as that feels not actually useful. Instead, where possible, links will default to the first sub-service available for navigation
    • BREAKING: The ALRED_AWS_CONSOLE_SERVICES_WORKFLOW_AWS_CONSOLE_DOMAIN env var has been renamed to ALFRED_AWS_CONSOLE_SERVICES_WORKFLOW_AWS_CONSOLE_DOMAIN to fix a typo/misspelling (ALRED was missing an F. press F to pay respects). The workflow will now error if you attempt to use the previously misspelled version
    • Added proper signing and notarizing of workflow for macOS Gatekeeper (resolves #39)
    • Added region query param to generated links so that AWS does not need to redirect you when the link opens in your browser. This results in page load speedups across the boardβ€”some of which are substantial (>2-3 seconds) (resolves #42)
    • Added support for US Gov domains. if your profile is configured to use a us-gov-* region, the workflow will now open URLs with the appropriate domain without requiring an explicit ALFRED_AWS_CONSOLE_SERVICES_WORKFLOW_AWS_CONSOLE_DOMAIN (resolves #43)
    • Added hundreds of sub-services across dozens of services. Check console-services.yml for more details
    • Removed some obsolete services
  • 4.8.15 years ago, 6.5 MBDownload

    Changes

    User-facing

    • Fixed caching when utilizing profile overrides (whoops)
  • 4.8.05 years ago, 6.5 MBDownload

    Changes

    User-facing

    • Added profile override on a single query basis. You can utilize this by typing @ in your query. This delimiter is customizeable; see README diff for more details
    • Added current version display to "Update available" banner for easier version comparisons
    • Added donation link :3
  • 4.7.05 years ago, 6.5 MBDownload

    Changes

    User-facing

    • Added Cloudwatch log insights searcher
  • 4.6.05 years ago, 6.4 MBDownload

    Changes

    User-facing

    • Added region override on a single query basis. You can utilize this by typing $ in your query. This delimiter is customizeable; see README diff for more details (resolves https://github.com/rkoval/alfred-aws-console-services-workflow/issues/37)
    • Added much better handling of tab autocomplete throughout the workflow
    • Added arn: matching to remaining searchers. These searchers will query based on arns with this prefix if the query starts with arn:

    Internal

    • Reworked parser logic to better enable new tokens in the future (like profile override... stay tuned)
  • 4.5.05 years ago, 6.4 MBDownload

    Changes

    User-facing

    • Added Route53 sub-services
    • Added Route53 hosted zone searcher
    • Added Elastic Beanstalk application searcher
    • Added EC2 load balancer searcher
  • 4.4.05 years ago, 6.3 MBDownload

    Changes

    User-facing

    • Added ElastiCache Redis cluster searcher
    • Added ElastiCache Memcached cluster searcher
  • 4.3.05 years ago, 6.2 MBDownload

    Changes

    User-facing

    • Made it so EC2 searcher opens up EC2 instance directly instead of in search results (this makes opening the instance faster in accounts with many instances)
    • Added profile and region display when workflow is first opened
  • 4.2.05 years ago, 6.2 MBDownload

    Changes

    User-facing

    • Fixed various broken links for services
    • Added global region awareness when populating links relevant services (this will result in a small page load speedup for these services because there's one less redirect)

    Internal

    • Added debug support opening all services in browser (not just sub-services anymore)
  • 4.1.05 years ago, 6.2 MBDownload

    Changes

    User-facing

    • Added support for Chinese regions opening up the correct console URL (resolves #32)
    • Added support for specifying a custom domain via ALRED_AWS_CONSOLE_SERVICES_WORKFLOW_AWS_CONSOLE_DOMAIN
  • 4.0.05 years ago, 6.2 MBDownload

    If you missed it and you're upgrading from 2.x, you'll need to see the 3.0.0 release for upgrade information

    4.0.0 is out! While this is a new major release, it should not contain any breaking user-facing changes. However, there have been substantial internal changes that makes this feel worthy of a major bump. Additionally, there is technically a breaking change for developers in that the minimum go version has been updated (v1.14.0 -> v1.16.5).

    The main thing to note about this release is the migration from aws-sdk-go to aws-sdk-go-v2. As it is advertised, this upgrade provides major CPU and memory improvements for the areas of the workflow that interact with AWS directly (see their release announcement for more details). It additionally provides a smaller binary for this workflow so the .alfredworkflow download is not as large as the previous release.

    For more details surrounding the changes in this release, see below. Thanks for using this workflow!

    Changes

    User-facing

    • Fixed RDS Database searcher not paginating properly
    • Added SNS sub-services
    • Added SNS topic searcher
    • Added SNS subscription searcher

    Internal

    • Upgraded aws-sdk-go to aws-sdk-go-v2
    • Upgraded minimum go version for development
    • Added code generators for creating searchers. The generators will inspect the AWS JSON files used to generate aws-sdk-go-v2 to generate the appropriate boilerplate for use in querying AWS.
  • 3.7.05 years ago, 12.8 MBDownload

    If you missed it and you're upgrading from 2.x, you'll need to see the 3.0.0 release for upgrade information

    Changes

    User-facing

    • Added RDS Database searcher