cancel
Showing results for 
Search instead for 
Did you mean: 

Stuck deploying my first FaaS in SAP Cloud Platform using the Functions service (beta)

pieterjanssens
Active Participant
0 Kudos

I followed this tutorial to get started with 'Functions' (SAP's FaaS on SAP Cloud Platform, currently in Beta).

I am stuck in the deploy step and hope to get some help to get me going again.

Bonus question: to install npm packages (from the standard npm registry) they have to be added as dependencies in the package.json and then the project needs to be built to load them or how is this achieved?

My instance is called “faas-test” and that is also the name I put in the mta.yaml (see bottom).

<code>20:32:48 (Executor) Getting service key credentials for the faasinstance service instance.
20:32:49 (Executor) Creating the faasinstance service instance for the functions service.
20:32:49 (Executor) Error: Could not create faasinstance service instance using the provided configuration parameters: : exit status 1
20:32:49 (Content Deploy) The "Task for deploy content module sample" process finished with code 1
20:32:49 (Content Deploy) Could not deploy "faasmodule".
<code>ID: cds_releases
_schema-version: '2.1'
version: 0.0.1
modules:
  - name: faasmodule
    type: com.sap.application.content
    path: faasmodule
    requires:
      - name: faas-test
        parameters:
          content-target: true
          delete-deploy-resources: false
resources:
  - name: faas-test
    parameters:
      service-plan: beta
      service: functions
      service-name: faasinstance
      config:
        name: faasinstance
    type: org.cloudfoundry.existing-service

Accepted Solutions (0)

Answers (0)