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
This is to track if we should support multiple types or fix the code in cloudformation-cli to support multiple types. Right now the flatenner will fail when doing the following. Additionally the schema allows for multiple types.
Not if they are using the cloudformation-cli cause it would fail.
This shows up the most as a result of inline policies or definitions (like step functions).
"type": [
"object",
"string"
]
There are some other random multi types... none that specify array and objects together. In general the flattener is used in a lot of places in the cloudformation-cli and we make an assumption that we only support singular types.
This is to track if we should support multiple types or fix the code in cloudformation-cli to support multiple types. Right now the flatenner will fail when doing the following. Additionally the schema allows for multiple types.
cloudformation-cli/src/rpdk/core/jsonutils/flattener.py
Lines 19 to 23 in f0e3769
Schema definition: https://github.com/aws-cloudformation/cloudformation-resource-schema/blob/master/src/main/resources/schema/schema#L145-L155
The text was updated successfully, but these errors were encountered: