Read a list of values from SSM #17625
-
I am trying to read values from SSM and assign to a resource during the deployment time.
Using Tokens format always display one and add the first account. I don’t know why the loop don’t iterate over the other elements of the List. Any ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
We create a dynamic reference to be resolved at deploy time, we cannot possibly know what the string parameter contains or how many elements it does. on top of this, you cannot use intrinsic functions with dynamic references, because intrinsic functions resolve first. Any logic related to processing the parameter value has to be done by the service or resource that receives the dynamic reference value at deploy time |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
We create a dynamic reference to be resolved at deploy time, we cannot possibly know what the string parameter contains or how many elements it does. on top of this, you cannot use intrinsic functions with dynamic references, because intrinsic functions resolve first. Any logic related to processing the parameter value has to be done by the service or resource that receives the dynamic reference value at deploy time