cloudformation describe_change_set with IncludePropertyValues=True response lacking StatusReason #4178
Labels
bug
This issue is a confirmed bug.
closed-for-staleness
cloudformation
p2
This is a standard priority issue
response-requested
Waiting on additional information or feedback.
service-api
This issue is caused by the service API, not the SDK implementation.
Describe the bug
When calling the
describe_change_set
function on acloudformation
client for a stack withIncludePropertyValues
set toTrue
, the response does not includeStatusReason
if the change setStatus
isFAILED
.Expected Behavior
The
StatusReason
should be included in the response both whenIncludePropertyValues
is set toTrue
.Current Behavior
The response returned does not include the
StatusReason
for a change set with aStatus
ofFAILED
(at least not when it failed due to no changes).When performing the same call with
IncludePropertyValues
set toFalse
, theStatusReason
is included in the response.Reproduction Steps
Create a CloudFormation stack
Call
create_change_set
using the same templateCall
describe_change_set
on the created change set withIncludePropertyValues
set toTrue
Possible Solution
No response
Additional Information/Context
This seems to be a bug in CloudFormation itself, as the AWS Console are performing two calls when viewing a change set, one with include property values set to true, and one with it set to false.
SDK version used
1.34.134
Environment details (OS name and version, etc.)
Python 3.10.12, Linux Pop!_OS 22.04 LTS
The text was updated successfully, but these errors were encountered: