Skip to content
This repository has been archived by the owner on Oct 21, 2023. It is now read-only.

Commit

Permalink
!deploy fixed #4
Browse files Browse the repository at this point in the history
  • Loading branch information
scrthq committed Jun 27, 2017
1 parent 1bc01b9 commit cadc1e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ function New-SAMFunction {
}
})]
$Environment,
[parameter(Mandatory = $true)]
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "Vaporshell.Resource.Lambda.Function.VpcConfig","System.Collections.Hashtable"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
Expand Down

0 comments on commit cadc1e1

Please sign in to comment.