on 08-05-2022 8:47 AM
I'm trying to set a custom name for a HANA Cloud HDI container via `mta.yaml`.
Setting a custom value to `hdi-container-name` doesn't do anything.
# ...
resources
- name: my-db
type: com.sap.xs.hdi-container
parameters:
service: hana
service-plan: hdi-shared
properties:
hdi-container-name: my-hdi-container # <-- shouldn't this work?
What am I missing?
env:
mta schema version: 3.1
CAP: 5^
HDB service version: 220623-1657778645-54a86d2
if you set
hdi-container-name: ${service-name}
then the name of the hdi service will be the name you set for your ressource (my-db in your example)
Note that if parameter makeUniqueName is set to true (that is the default), when doing local build in your workspace, the service name will be prefixed by a GUID.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks for your answer, but setting the hdi service name in the mta.yaml was exactly what I wanted to avoid 🙂
Use Case would be to have the same hdi service name in a "base" mta.yaml, then extend that via "mta-dev.mtaext" per environment, providing an environment specific hdi container name.
btw: the mta.yaml and its' extension mix correctly in the build, resulting in the desired yaml entry in my original post.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.