Multitarget application (mta.yaml modules, resources, requires)
mta.yamlSAP's Cloud Foundry documentation describes an MTA as one application of several parts sharing one lifecycle, modelled as modules, resources (services a module needs at runtime) and dependencies declared with provides and requires. mta.yaml is the development descriptor that says what to build and how; the generated mtad.yaml is the deployment descriptor.
- https://github.com/SAP-docs/btp-cloud-platform/blob/main/docs/30-development/multitarget-applications-in-the-cloud-foundry-environment-d04fc0e.md ↗
- https://github.com/SAP-docs/btp-developer-guide/blob/main/docs/using-multitarget-applications-to-manage-dependencies-41184aa.md ↗
- https://github.com/SAP-samples/cf-mta-examples ↗
- https://sap.github.io/cloud-mta-build-tool/ ↗
resources:
- name: my-cf-service-instance-resource
type: org.cloudfoundry.managed-service
parameters:
service-plan: "lite"
service: application-logs
modules:
- name: my-mta-managed-app-module
type: application
path: "appBits.zip"
requires:
- name: my-cf-service-instance-resource