aws-cloudformation / cfn-language-discussion

Language discussions for CloudFormation template language
https://aws.amazon.com/cloudformation/
Apache License 2.0
143 stars 13 forks source link

To iterate values in list<string> array #119

Closed yogesh3099 closed 1 year ago

yogesh3099 commented 1 year ago

Community Note

Tell us about your request

What do you want us to build?

Tell us about the problem you are trying to solve. What are you trying to do, and why is it hard?

What outcome are you trying to achieve, ultimately, and why is it hard/impossible to do right now? What is the impact of not having this problem solved? The more details you can provide, the better we will be able to understand and solve the problem.

Are you currently working around this issue?

How are you currently solving this problem?

What is the expect behavior with this new feature

Please include some code examples showing how this feature can be used.

Additional context

Anything else we should know?

Attachments

If you think you might have additional information that you wouldd like to include via an attachment, please do - we will take a look. (Remember to remove any personally-identifiable information.)

These are the parameter values which are passed through json file. { "ParameterKey": "PrivateSubnets", "ParameterValue": "subnet-xxx,subnet-xxx,subnet-xxx" } I want to add all those subnets in subnet id. I am unable to update using select and split function as well

MountTarget1: Type: AWS::EFS::MountTarget Properties: FileSystemId: !Ref EFSFileSystem SecurityGroups:

error msg which i have got is "MountTarget1 with message: #/SubnetId: expected type: String, found: JSONArray"