aws / aws-toolkit-azure-devops

AWS Toolkit for Azure DevOps
Other
249 stars 106 forks source link

from PS version 3 and beyond import-module is not required, this also… #452

Closed allanmo79 closed 2 years ago

allanmo79 commented 2 years ago

… slows performance

I have removed Import-module from AWSPowerShellModuleScript as it slows task performance and isnt needed in ps version > 3 (https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/import-module?view=powershell-7.2#description)

Description

Removed "Import-Module -Name AWSPowerShell"

Motivation

AWSPowerShellModuleScript@1 was performing slowly for no reason

Related Issue(s), If Filed

slow performance

Testing

Checklist

License

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.