You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 21, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: ci/Convert-SpecToFunction.ps1
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -135,7 +135,7 @@ function $FunctionName {
135
135
if ($Name-notin$resourcesToExcludeUpdatePolicy) {
136
136
$scriptContents+=@"
137
137
.PARAMETER UpdatePolicy
138
-
Use the UpdatePolicy attribute to specify how AWS CloudFormation handles updates to the AWS::AutoScaling::AutoScalingGroup resource. AWS CloudFormation invokes one of three update policies depending on the type of change you make or whether a scheduled action is associated with the Auto Scaling group.
138
+
Use the UpdatePolicy attribute to specify how AWS CloudFormation handles updates to certain resources. AWS CloudFormation invokes one of three update policies depending on the type of change you make.
139
139
140
140
You must use the "Add-UpdatePolicy" function here.`n
141
141
"@
@@ -165,7 +165,8 @@ function $FunctionName {
165
165
}
166
166
}
167
167
$scriptContents+=@"
168
-
`nParam
168
+
169
+
Param
169
170
(
170
171
"@
171
172
if ($ResourceType-ne"Property") {
@@ -359,8 +360,8 @@ function $FunctionName {
359
360
"@
360
361
}
361
362
362
-
#XXX # ensure definitions are separated by blank lines
363
-
#$scriptContents += "`n"
363
+
# ensure definitions are separated by blank lines
364
+
$scriptContents+=""
364
365
}
365
366
if ($ResourceType-ne"Property") {
366
367
if ($Name-notin"AWS::AutoScaling::AutoScalingGroup","AWS::EC2::Instance","AWS::CloudFormation::WaitCondition") {
0 commit comments