Rather than returning stack ARN, we should return the last stack status (e.g. CREATE_COMPLETE), or a value NO_CHANGE if a changeset was not generated due to no actual changes.
When a stack operation does result in a failure code, throw a custom exception that has the stack status as a property.
Add -PassThru switch to return stack ARN as before.
The above parameter should be placed in a parameter set with -Wait as it is meaningless in a no wait context, where the only sensible output is the ARN
Rather than returning stack ARN, we should return the last stack status (e.g.
CREATE_COMPLETE
), or a valueNO_CHANGE
if a changeset was not generated due to no actual changes. When a stack operation does result in a failure code, throw a custom exception that has the stack status as a property.Add
-PassThru
switch to return stack ARN as before.The above parameter should be placed in a parameter set with
-Wait
as it is meaningless in a no wait context, where the only sensible output is the ARN