Initialize graphQl Client and Sign request for IAM authentication
🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧
in serverless.yml
...
provider:
...
environment:
SLS_STAGE: ${self:provider.stage}
iamRoleStatements:
- Effect: Allow
Action:
- ssm:GetParameters
- execute-api:*
Resource: '*'
...