Refer External File parameters

Hi ,
I am trying to access a variable from another file using file reference in serverless, but it fails to access outside variable .

in serverless.yml

- Effect: "Allow"
- “dynamodb:*”
- "kms:Decrypt"
Resource: ${file(…/inputfile.yml:arnResource)

I want to get the arnResource value but I am not able to get it.
can some one please look into the issue.

Hello @svr3105,

Looks like cleaning up your syntax would be the place to start.
where you’ve got this: ${file(…/inputfile.yml:arnResource)
I believe you should have this instead: ${file(…/inputfile.yml):arnResource}

Hope that helps!