Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: AWS Script errors from AWS Cloudshell #79

Open
sean-liu2 opened this issue Oct 2, 2024 · 0 comments
Open

Bug: AWS Script errors from AWS Cloudshell #79

sean-liu2 opened this issue Oct 2, 2024 · 0 comments

Comments

@sean-liu2
Copy link

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
**********************`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant