aws / aws-tools-for-powershell

The AWS Tools for PowerShell lets developers and administrators manage their AWS services from the PowerShell scripting environment.
Apache License 2.0
239 stars 79 forks source link

WinGet support for adding AWS Tools for Powershell #336

Closed lonmiller closed 8 months ago

lonmiller commented 8 months ago

Describe the feature

Winget is a package manager for windows component installations. It automates updates of components.

Use Case

AWS tools for powershell is a collection of multiple little packages that needs tactical updating and automation. Using Winget to find, install, update and remove specific AWS Tools for Powershell packages is in line with standard Windows maintenance cadences.

Proposed Solution

user search

_winget list aws_

Name                                                              Id                                  Version     Available     Source
--------------------------------------------------------------------------------
(current available)
AWS Command Line Interface v2                  Amazon.AWSCLI              2.15.7.0                  winget
AWS SAM Command Line Interface              Amazon.SAM-CLI             > v1.98.0   1.105.0       winget

(proposed variations)
** AWS Tools For Powershell - All                  Amazon.AWSTools.All                           4.1.488 winget **
** AWS Tools For Powershell - CloudWatch   Amazon.AWSTools.CloudWatch           4.1.488 winget **

user install

_winget install Amazon.AWSTools.All_

_winget install Amazon.AWSTools.CloudWatch_

Other Information

Winget is a standardized package manager. The current breakdown of AWS Tools into multiple small modules drives a customer pain point of needing to create manual provisioning/automation systems.

Automation of using a windows standard installer like winget for those use cases reduces undifferentiated heavy lifting and increases time spent building solution with, not for, AWS.

Acknowledgements

AWS Tools for PowerShell version used

4.1.488

PowerShell version used

7.4.0

Operating System and version

Windows10

ashishdhingra commented 8 months ago

@lonmiller Good morning. Thanks for opening the issue. Is this feature request related to updating Install-AWSToolsModule CmdLet to use winget? Also, winget per Use the winget tool to install and manage applications is a command line tool for Windows. Whereas Install-AWSToolsModule is designed to work on both Windows and non-Windows platforms. Please clarify your use case.

Thanks, Ashish

github-actions[bot] commented 8 months ago

This issue has not received a response in 5 days. If you want to keep this issue open, please just leave a comment below and auto-close will be canceled.

lonmiller commented 7 months ago

Use case is to update AWS powershell tools as part of integrated system update process. Winget is a package manager similar to APT, can maintain state and be called in order to update multiple packages on a system. Winget can be called from multiple shell scripts, cmd, powershell, etc.

AWSToolsModule is AWS only and can't be called outside of PowerShell.