aws / aws/aws-toolkit-azure-devops
Azure DevOps Task 'AWS Tools for Windows PowerShell Script' - Ignore PS Module Check
- Dominant language
- TypeScript
- Stars
- 258
- Forks
- 114
- PR merge metrics
- No merged PRs in 30d
Description
Current situation: Using Azure DevOps on a private Azure DevOps server to connect to AWS resources.
In Azure DevOps pipelines, the AWS Task 'AWS Tools for Windows PowerShell Script' is used to run PowerShell scripts against AWS resources. The scripts are executed on a Self-Hosted Agent (Private VM).
As per documentation 'The module will be automatically installed if needed', however every time this task is executed, it checks if the module is present on the Self-Hosted Agent.
Problematic Scenario: If we have have more than 10 similar tasks on the same pipeline, and the check is made every time, which consumes nearly 1 minute per task only for the checks. In total, this increases the pipeline execution time by 10 minutes.
Question: Is it possible to ignore this check?
Expected Solution: Add an option to ignore the Powershell Module checks in the AWS task.
Thank you
Contributor guide
Research direction
Start with the AWS Tools for Windows PowerShell Script task and trace where it checks for the PowerShell module on self-hosted agents. Add a task option that bypasses the check, and verify that repeated tasks can run without performing the module check while the existing automatic-install behavior remains available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, powershell, typescript
- Domain
- devops
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100