-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
aws: Use regex expansion for platform names
Our platform map is getting a bit absurd as we duplicate a bunch of information for every product variant (I'm looking at you, P5, P5e, and P5en). Instead, support a wild card (and really, any valid regex) in the platform data name. This impleemntation is wildly inefficient, since we have to build a new regex engine every time through the loop, but we only do this at init, and the total number of platforms isn't that big, so let's not worry about that. Signed-off-by: Brian Barrett <[email protected]>
- Loading branch information
Showing
1 changed file
with
30 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters