-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Running the command ./Get-AWSSizingInfo.ps1 -Partition GovCloud
results in the following error:
Failed to get Backup Plans Info for region us-gov-east-1 in account XXXXXXXXXXXX
Error: nodename nor servname provided, or not known (ce.us-gov-east-1.amazonaws.com:443)
Write-Error: An error occurred and the script has exited prematurely:
Write-Error: You cannot call a method on a null-valued expression.
Write-Error: at <ScriptBlock>, ./rubrik-sizing-scripts/CLOUD/Get-AWSSizingInfo.ps1: line 1813
at <ScriptBlock>, ./rubrik-sizing-scripts/CLOUD/Get-AWSSizingInfo.ps1: line 1813
at <ScriptBlock>, <No file>: line 1
The script line that this occurs in is:
$backupTotalNetUnblendedCost = ($backupCostsList.AWSBackupNetUnblendedCost | ForEach-Object { [decimal]($_.TrimStart('$')) } | Measure-Object -Sum).sum
Metadata
Metadata
Assignees
Labels
No labels