Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/stackup/change_set.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ def create(options = {})
when /COMPLETE/
return current.status
when "FAILED"
if allow_empty_change_set && (current.status_reason == "The submitted information didn't contain changes. Submit different information to create a change set.")
# following the AWS CLI way: https://github.com/aws/aws-cli/blob/develop/awscli/customizations/cloudformation/deployer.py#L171
if allow_empty_change_set && (current.status_reason.include? "The submitted information didn't contain changes." or current.status_reason.include? "No updates are to be performed")
return current.status_reason
end

Expand Down