-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"type" has to be singular by flattener code but can be an array by schema validation #1059
Comments
Are there any existing types that do this? |
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).
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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: