-
Notifications
You must be signed in to change notification settings - Fork 493
Description
Description
Can not execute Publish-AWSPowerShellLambda -ScriptPath script.ps1 -Region us-west-2 -IAMRoleArn arn:aws:iam::blah/blah -Name test
Reproduction Steps
Error received is:
Created publish archive (/private/var/folders/hv/786wbs4n13ldvz9765nx8nv40000gn/T/s3toazsentinel/bin/Release/netcoreapp3.1/s3toazsentinel.zip).
Error retrieving configuration for function test: No route to host
Exception: /Users/nicholasdicola/.local/share/powershell/Modules/AWSLambdaPSCore/2.0.0.0/Private/_DeploymentFunctions.ps1:203
Line |
203 | throw $msg
| ~~~~~~~~~~
| Error publishing PowerShell Lambda Function: 255 CALLSTACK: Command Arguments -------
| ---------
| _deployProject {FunctionLayer=,
| FunctionHandler=test::test.Bootstrap::ExecuteFunction, S3Bucket=,…
| Publish-AWSPowerShellLambda {ScriptPath=./s3toazsentinel/s3toazsentinel.ps1, Region=us-west-2,
| IAMRoleArn=arn:aws:iam::… {}
Environment
- Build Version:
ModuleType Version PreRelease Name PSEdition ExportedCommands
Binary 4.0.6.0 AWS.Tools.Common Core,Desk {Clear-AWSHistory, Set-AWSHistoryConfiguration, In…
Script 2.0.0.0 AWSLambdaPSCore Core {Get-AWSPowerShellLambdaTemplate, New-AWSPowerShel…
Binary 4.0.6.0 AWSPowerShell.NetCore Desk
- OS Info: MAC Catalina
Build Environment: VSCode + Terminaldotnet - Targeted .NET Platform: Powershell 7
This is a 🐛 bug-report