Skip to content

AWS.Tools.Installer 2.0.0 compatibility bug #395

@gfody

Description

@gfody

Describe the bug

prior to 2.0.0 the tool names would be accepted as the first argument, eg we had an automation running something like this:

Install-AWSToolsModule Common, EC2, ECS, ECR, Route53, S3

..a few hours ago this code started throwing

Install-AWSToolsModule: A positional parameter cannot be found that accepts argument 'System.Object[]'

to workaround we have to specify -Name eg:

Install-AWSToolsModule -Name Common, EC2, ECS, ECR, Route53, S3

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

no error

Current Behavior

error

Reproduction Steps

example in description

Possible Solution

No response

Additional Information/Context

No response

AWS Tools for PowerShell version used

2.0.0

PowerShell version used

7.5.2

Operating System and version

Ubuntu 24.04

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue is a bug.potential-regressionMarking this issue as a potential regression to be checked by team member

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions