Skip to content

Bug: AWS Script errors from AWS Cloudshell #79

@sean-liu2

Description

@sean-liu2

Executed the script with the command ./Get-AWSSizingInfo.ps1 -Regions "us-west-1,us-west-2,us-east-1,us-east-2" -OrgCrossAccountRoleName OrganizationAccountAccessRole but it terminates with the following error message:

`PS>TerminatingError(Write-Progress): "Cannot validate argument on parameter 'PercentComplete'. The 200 argument is greater than the maximum allowed range of 100. Supply an argument that is less than or equal to 100 and then try the command again."

TerminatingError(Write-Progress): "Cannot validate argument on parameter 'PercentComplete'. The 200 argument is greater than the maximum allowed range of 100. Supply an argument that is less than or equal to 100 and then try the command again."
Write-Error: An error occurred and the script has exited prematurely:
Write-Error: An error occurred and the script has exited prematurely:
Write-Error: Cannot validate argument on parameter 'PercentComplete'. The 200 argument is greater than the maximum allowed range of 100. Supply an argument that is less than or equal to 100 and then try the command again.
Write-Error: Cannot validate argument on parameter 'PercentComplete'. The 200 argument is greater than the maximum allowed range of 100. Supply an argument that is less than or equal to 100 and then try the command again.
Write-Error: at getAWSData, /home/cloudshell-user/Get-AWSSizingInfo.ps1: line 1200
at , /home/cloudshell-user/Get-AWSSizingInfo.ps1: line 1547
at , : line 1
Write-Error: at getAWSData, /home/cloudshell-user/Get-AWSSizingInfo.ps1: line 1200
at , /home/cloudshell-user/Get-AWSSizingInfo.ps1: line 1547
at , : line 1


PowerShell transcript end
End time: 20241002221827
**********************`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions