Cloudformation service-2.js is missing valid ResourceStatus values
See original GitHub issueIt appears that data/cloudformation/2010-05-15/service-2.json
is missing the following enum values in the ResourceStatus
type:
"ROLLBACK_COMPLETE"
"ROLLBACK_FAILED"
"ROLLBACK_IN_PROGRESS"
"UPDATE_COMPLETE_CLEANUP_IN_PROGRESS"
"UPDATE_ROLLBACK_COMPLETE"
"UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS"
"UPDATE_ROLLBACK_FAILED"
"UPDATE_ROLLBACK_IN_PROGRESS"
Note that all of these are present in the StackStatus
type.
But when DescribeStackEvents
reports the status of the stack when the event resource is the stack itself: the stack status becomes the resource status.
I suspect this was not found so far as your internal generation of the service-2.json
only consults the resource statuses, excluding the stack statuses. And many downstream libraries only expose the stack / resource status as strings. So it could slip through for a long time.
To reproduce the missing ResourceStatus
enum values: Run the stack into any of the states missing from ResourceStatus
and call DescribeStackEvents
.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:13 (4 by maintainers)
Sorry to be so snarky earlier. Thanks for taking a look.
@ITProKyle, @mbj,
Checking in here - I’ve requested an update from the CloudFormation team.