Open akunszt opened 4 years ago
@akunszt Thank you very much for your feedback! Since this repository is focused on resource coverage, I'm transferring this issue over to a new GitHub repository dedicated to CloudFormation template language issues.
In my opinion, not just arrays but objects and real Booleans should also be supported.
1. Title
Support JSON array in Parameters
2. Scope of request
Using CommaDelimitedList is cumbersome when you have a lot and long entries. In example this is how one of our Parameter looks like - it lists some roles with full ARNs which can assume a role in this template:
It's very hard to handle this. It's very hard to check the diffs. And it's not even the final version it should be longer.
3. Expected behavior
We would like to use a JSON array to handle the CommaDelimitedList. The old behaviour can and should be maintained but the CloudFormation can join the value using
,
as a separator if it's an Array, not a String.In example:
It's easier to read and compare two versions to spot a difference. The Parametes should be work as a CommaDelimitedList, so in the template the
Ref
should return as Array as before and you can useFn::Select
to access a specific element.Also it would be very nice if the
List<something>
types also supports this behaviour.4. Suggest specific test cases
See the Expected behavior chapter.
5. Helpful Links to speed up research and evaluation
N/A
6. Category
Other