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
235 stars 77 forks source link

Add Repository parameter to Install-AwsToolsModule. #300

Open AjayKMehta opened 1 year ago

AjayKMehta commented 1 year ago

Describe the feature

Add Repository parameter to Install-AwsToolsModule.

Use Case

Currently, the code is hard-coded to use PSGallery:

> Install-AWSToolsModule -Name Aws.Tools.SSO
Exception: Could not find AWS.Tools module on PSGallery: Aws.Tools.SSO

This does not work because we use Artifactory at work and can't access PowerShellGallery directly.

If a Repository parameter is added, I can supply the name of the internal PowerShell repository.

Proposed Solution

No response

Other Information

No response

Acknowledgements

AWS Tools for PowerShell version used

AWS.Tools.Installer v. 1.0.2.4

PowerShell version used

Name Value


PSVersion 7.2.5 PSEdition Core GitCommitId 7.2.5 OS Microsoft Windows 10.0.17763 Platform Win32NT PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…} PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1 WSManStackVersion 3.0

Operating System and version

Windows 10

ashishdhingra commented 1 year ago

Needs to be reviewed with the team.

AjayKMehta commented 1 year ago

@ashishdhingra Is there any update?