Do Genesys Cloud Functions require AWS account?

Hello!

I am testing how the new Genesys Cloud Function integration works. I was following @John_Carnell 's video . However, when I tried to generate the .zip using sls package, it failed saying that I have invalid AWS credentials.

Is an AWS account needed to use this integration? In the video, John says that serverless is not required, just recommended. But serverless docs specify that credentials are required for packaging. The Resource Center article doesn't list an AWS Account as a requirement so...

Sorry, I am completely new with serverless :sweat_smile:

No . AWS creds are not required. Functions are executed in GC's AWS space

So, in that case, how do I create the .zip file? What structure and contents does it have?

Hello,

I don't know much on the use of Serverless Framework but the sls command can run without checking/needing AWS credentials.
I just tried it with one of the samples I mentioned in the Welcome Genesys Cloud Functions! blog that was published recently. The samples contain the necessary serverless.yml file used by sls package command. In the example, Serverless Framework is installed as a dev dependency of the project (in package.json). I didn't install it "globally".

Regards,

Hello! I've discovered that the Serverless version that appears in that blog entry is v3, which does not require AWS credentials to package. However, that version is no longer supported.
The new one (v4):

  • Requires license for big companies
  • Requires AWS credentials

I was able to create the zip file just by following the AWS Lambda documentation. However, testing locally is not as easy as testing with serverless (although it is not very hard either; just create a js script that imports the function and calls it with the 3 parameters).

Hi Adrian,

Interestingly, I installed the SLS a few months ago and it was v3. I will pass that feedback on to the product manager and see if any other recommended frameworks exist. In the meantime, I will update the description on the YouTube video that provides more feedback.

1 Like

Thank you for the notice. I hadn't paid attention to the version I was using.
I'll try to update the blog and samples next week with alternatives in the package.json scripts (using zip and inline js code).

Regards,

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.