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
rootcause of the problem is that the regex here matches greedy. multiple ${xxxx} ${yyyy} expressions get collapsed into 1.
I believe the regex should be /\$\{.*?\}/g instead of /\$\{.*\}/g
previous issue (not the rootcause) below
currenlty, execute-api:Invoke permissions use arn:aws:execute-api:partition:account:* as resource.
would be great to map the properties of this call into a template:
The text was updated successfully, but these errors were encountered:
OlafConijn
changed the title
execute-api:Invoke permissions could have more specific resource
greedy regex sometimes replaces too many parameters in a single resource template
Jul 14, 2022
update
${xxxx} ${yyyy}
expressions get collapsed into 1./\$\{.*?\}/g
instead of/\$\{.*\}/g
previous issue (not the rootcause) below
currenlty, execute-api:Invoke permissions use
arn:aws:execute-api:partition:account:*
as resource.would be great to map the properties of this call into a template:
The text was updated successfully, but these errors were encountered: