Skip to Content
0
Jun 15, 2020 at 12:54 AM

Hdi-shared container pointing to HANA Cloud DB in another shared across subaccount issue.

206 Views

Hi guys,

I’m trying to deploy hdi-shared container which pointing to HANA Cloud DB in another shared subaccount with the content of mta.yaml file as below.

########################################################################
_schema-version: ‘3.1’
ID: backend
version: 1.0.0
description: “A simple CAP project.”
parameters:
enable-parallel-deployments: true
build-parameters:
before-all:
– builder: custom
commands:
– npm install
– npx cds build\/all

modules:
# ——————— SERVER MODULE ————————
– name: backend-srv
# ————————————————————
type: nodejs
path: gen/srv
properties:
EXIT: 1 # required by deploy.js task to terminate
requires:
– name: backend-db
provides:
– name: srv-binding
properties:
srv-url: ${default-url}

resources:
– name: backend-db
type: com.sap.xs.hdi-container
parameters:
shared: true
config:
database_id: <database_id>
properties:
hdi-service-name: ${service-name}
########################################################################

Then I ran the following commands:

mbt build

cf deploy mta_archives/backend_1.0.0.mtar

The deploying process is finished successfully without error, but looks like the hdi-shared container is not pointing to HANA Cloud DB, which I already specify database_id.

Can you give me an advice for this issue? The architect in client side said he already set it up to be able to share across between 2 subaccounts. Thank you.

Regards,

Kevin.