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

Commit

Permalink
!deploy 2.11.1 to fix #72
Browse files Browse the repository at this point in the history
## 2.11.1 - 2020-03-09

* [Issue #72](#72)
  * Updated allowable types for `Add-FnJoin` to match current AWS documentation (was missing `Fn::ImportValue` and `Fn::Sub` support)
  • Loading branch information
scrthq authored Mar 9, 2020
2 parents a87b9fa + ba8493f commit 0672747
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 20 deletions.
38 changes: 22 additions & 16 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

<!-- TOC -->

* [2.11.1 - 2020-03-09](#2111---2020-03-09)
* [2.11.0 - 2020-03-04](#2110---2020-03-04)
* [2.10.1 - 2020-02-20](#2101---2020-02-20)
* [2.10.0 - 2020-02-18](#2100---2020-02-18)
Expand Down Expand Up @@ -55,12 +56,17 @@

<!-- /TOC -->

## 2.11.1 - 2020-03-09

* [Issue #72](https://github.com/SCRT-HQ/VaporShell/issues/72)
* Updated allowable types for `Add-FnJoin` to match current AWS documentation (was missing `Fn::ImportValue` and `Fn::Sub` support)

## 2.11.0 - 2020-03-04

* [Issue #69](https://github.com/scrthq/VaporShell/issues/69) + [PR #70](https://github.com/scrthq/VaporShell/pull/70) - _Thanks, [@indented-automation](https://github.com/indented-automation)!!!_
* [Issue #69](https://github.com/SCRT-HQ/VaporShell/issues/69) + [PR #70](https://github.com/SCRT-HQ/VaporShell/pull/70) - _Thanks, [@indented-automation](https://github.com/indented-automation)!!!_
* Started `VaporShell.Core` class library to include with the module, first class being `TransformTagAttribute` to cleanly convert `Tags` parameter input to the appropriate format if not already.
* Added Pester tests to confirm Tag transforms are working as expected.
* [Issue #68](https://github.com/scrthq/VaporShell/issues/68) - _Thanks, [@indented-automation](https://github.com/indented-automation) and [@austoonz](https://github.com/austoonz)!!!_
* [Issue #68](https://github.com/SCRT-HQ/VaporShell/issues/68) - _Thanks, [@indented-automation](https://github.com/indented-automation) and [@austoonz](https://github.com/austoonz)!!!_
* Surfaced errors better on AWS SDK errors so the actual error is visible.
* Added the `FallbackCredentialFactory` to better support running in environments where credentials files are not a practical option.
* Miscellaneous
Expand All @@ -85,7 +91,7 @@

## 2.9.5 - 2020-02-17

* [Issue #66](https://github.com/scrthq/VaporShell/issues/66)
* [Issue #66](https://github.com/SCRT-HQ/VaporShell/issues/66)
* Fixed: `Int`,`Double`, and `Boolean` parameters now accept CloudFormation Intrinsic Functions as parameter values.
* Miscellaneous
* Brought Resource Type and Property Type functions up to current spec sheet.
Expand All @@ -107,14 +113,14 @@

## 2.9.1 - 2019-09-09

* [Issue #61](https://github.com/scrthq/VaporShell/issues/61) -- _Thanks, [@ScriptAutomate](https://github.com/ScriptAutomate)!_
* [Issue #61](https://github.com/SCRT-HQ/VaporShell/issues/61) -- _Thanks, [@ScriptAutomate](https://github.com/ScriptAutomate)!_
* Updated Synopsis and Description for all Resource Type and Property Type functions to include the information from the parsed documentation.

## 2.9.0 - 2019-09-08

* [Issue #61](https://github.com/scrthq/VaporShell/issues/61) -- _Thanks, [@ScriptAutomate](https://github.com/ScriptAutomate)!_
* [Issue #61](https://github.com/SCRT-HQ/VaporShell/issues/61) -- _Thanks, [@ScriptAutomate](https://github.com/ScriptAutomate)!_
* Updated Parameter help for all Resource Type and Property Type functions to include the Parameter descriptions.
* [Issue #62](https://github.com/scrthq/VaporShell/issues/62) -- _Thanks, [@ScriptAutomate](https://github.com/ScriptAutomate)!_
* [Issue #62](https://github.com/SCRT-HQ/VaporShell/issues/62) -- _Thanks, [@ScriptAutomate](https://github.com/ScriptAutomate)!_
* Updated the CI build process to check all spec sheets for any Resource Types and Property Types that may be missing from `us-east-1`.
* Miscellaneous
* Brought Resource Type and Property Type functions up to current spec sheet.
Expand All @@ -127,7 +133,7 @@

## 2.8.0 - 2019-08-08

* [Issue #57](https://github.com/scrthq/PSGSuite/issues/57)
* [Issue #57](https://github.com/SCRT-HQ/PSGSuite/issues/57)
* Fixed: `ProcessRequest4` private function will now use the Async methods if detected, so usage of the AWSPowerShell.NetCore or AWS.Tools.* modules from Windows PowerShell will still work as expected when using any of the SDK wrapper functions like `Watch-Stack`
* Miscellaneous
* Brought Resource Type and Property Type functions up to current spec sheet.
Expand All @@ -139,7 +145,7 @@

## 2.7.2 - 2019-04-16

* [Issue #53](https://github.com/scrthq/VaporShell/issues/53)
* [Issue #53](https://github.com/SCRT-HQ/VaporShell/issues/53)
* Fixed: `New-VaporMetadata` now allows colons `:` in the LogicalId.
* Miscellaneous
* Brought Resource Type and Property Type functions up to current spec sheet.
Expand All @@ -156,7 +162,7 @@

## 2.7.0 - 2019-03-08

* [Issue #48](https://github.com/scrthq/VaporShell/issues/48)
* [Issue #48](https://github.com/SCRT-HQ/VaporShell/issues/48)
* Fixed: `Export-VaporShell` was having various failures due to the `Format-Json` private function called during JSON conversion.
* Miscellaneous
* Brought Resource Type and Property Type functions up to current spec sheet.
Expand All @@ -166,21 +172,21 @@

## 2.6.3

* [Issue #44](https://github.com/scrthq/VaporShell/issues/44)
* [Issue #44](https://github.com/SCRT-HQ/VaporShell/issues/44)
* Fixed: `Resource` from the DSL module was no longer resolving the available types after the CI/CD pipeline switched to compiling the module into a single PSM1 before deploying to the PowerShell Gallery.
* Miscellaneous
* Brought Resource Type and Property Type functions up to current spec sheet.

## 2.6.2

* [Issue #41](https://github.com/scrthq/VaporShell/issues/41)
* [Issue #41](https://github.com/SCRT-HQ/VaporShell/issues/41)
* Fixed: `Update-VSStack` and `Update-VSStackSet` were removing the `BuiltWith = VaporShell` tags if not explicitly included when updating Tags.
* Miscellaneous
* Brought Resource Type and Property Type functions up to current spec sheet.

## 2.6.1

* [Issue #41](https://github.com/scrthq/VaporShell/issues/41)
* [Issue #41](https://github.com/SCRT-HQ/VaporShell/issues/41)
* Fixed: `Tags` parameter on the following functions was incorrectly expecting `String` values, switched to `Hashtable`:
* `New-VSStack`
* `Update-VSStack`
Expand Down Expand Up @@ -224,11 +230,11 @@

## 2.4.1

* Added `Vaporshell.Condition` to the acceptible types for standard resource parameters ([Issue #35](https://github.com/scrthq/VaporShell/issues/35))
* Added `Vaporshell.Condition` to the acceptible types for standard resource parameters ([Issue #35](https://github.com/SCRT-HQ/VaporShell/issues/35))

## 2.4.0

* Added `ToString()` method override to `New-VaporResource` for convenience during template building [Issue #34](https://github.com/scrthq/VaporShell/issues/34)
* Added `ToString()` method override to `New-VaporResource` for convenience during template building [Issue #34](https://github.com/SCRT-HQ/VaporShell/issues/34)

## 2.3.0

Expand All @@ -238,7 +244,7 @@

## 2.2.1

* Fixed [issue #25](https://github.com/scrthq/VaporShell/issues/25) by updating `Convert-SpecToFunction` to exclude common parameters from being added as properties to outputted resource and resource property objects
* Fixed [issue #25](https://github.com/SCRT-HQ/VaporShell/issues/25) by updating `Convert-SpecToFunction` to exclude common parameters from being added as properties to outputted resource and resource property objects

## 2.2.0

Expand Down Expand Up @@ -271,7 +277,7 @@
## 2.0.0

* Completely wrapped the AWS .NET SDK's CloudFormation model, allowing for full stack / change set / stack set management from VaporShell
* Fixed Export-VaporShell to work with PowerShell v3 and v4 ([Issue #15](https://github.com/scrthq/VaporShell/issues/15))
* Fixed Export-VaporShell to work with PowerShell v3 and v4 ([Issue #15](https://github.com/SCRT-HQ/VaporShell/issues/15))


## 1.2.3
Expand Down
10 changes: 6 additions & 4 deletions VaporShell/Public/Intrinsic Functions/Add-FnJoin.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ function Add-FnJoin {
<#
.SYNOPSIS
Adds the intrinsic function "Fn::Join" to a resource property
.DESCRIPTION
The intrinsic function Fn::Join appends a set of values into a single value, separated by the specified delimiter. If a delimiter is the empty string, the set of values are concatenated with no delimiter.
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-join.html
.PARAMETER Delimiter
The value you want to occur between fragments. The delimiter will occur between fragments only. It will not terminate the final value.
Expand All @@ -31,9 +31,11 @@ function Add-FnJoin {
Fn::GetAtt
Fn::GetAZs
Fn::If
Fn::ImportValue
Fn::Join
Fn::Split
Fn::Select
Fn::Sub
Ref
.FUNCTIONALITY
Expand All @@ -48,7 +50,7 @@ function Add-FnJoin {
$Delimiter = $null,
[parameter(Mandatory = $true,Position = 1)]
[ValidateScript({
$allowedTypes = "Vaporshell.Condition.If","Vaporshell.Function.Base64","Vaporshell.Function.FindInMap","Vaporshell.Function.GetAtt","Vaporshell.Function.GetAZs","Vaporshell.Function.Join","Vaporshell.Function.Select","Vaporshell.Function.Split","Vaporshell.Function.Ref","System.String"
$allowedTypes = "Vaporshell.Condition.If","Vaporshell.Function.Base64","Vaporshell.Function.FindInMap","Vaporshell.Function.GetAtt","Vaporshell.Function.GetAZs","Vaporshell.Function.ImportValue","Vaporshell.Function.Join","Vaporshell.Function.Select","Vaporshell.Function.Split","Vaporshell.Function.Sub","Vaporshell.Function.Ref","System.String"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
Expand All @@ -64,4 +66,4 @@ function Add-FnJoin {
}
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Function','Vaporshell.Function.Join'
Write-Verbose "Resulting JSON from $($MyInvocation.MyCommand): `n`n`t$($obj | ConvertTo-Json -Depth 5 -Compress)`n"
}
}

0 comments on commit 0672747

Please sign in to comment.