Picked up · SAP BTP DEEN

Terraform and entitlements: where depends_on belongs

github.comQuestion: leotardoo, answer: valkiara (GitHub) · 1 October 2026 How should dependencies between entitlements and service instances be declared? Go to source ↗
Picked up by Siegfried Zeilinger · AI-assisted: editing, translation
Diesen Beitrag auf Deutsch lesen

Why it's worth reading

How do you make sure Terraform creates the service instance only after the entitlement? The accepted answer: depends_on belongs on the data source for the service plan, not on the instance. From provider 1.22.0 onwards, it also works directly via offering and plan names. And the sentence that matters most: depends_on controls ordering, not whether every SAP BTP API already knows about the entitlement.

A classic IaC trap, answered briefly and precisely. And no, a fixed sleep is not a solution.

More finds

community.sap.comSAP Cloud ALM: the ITSM Console shows every call to the ticketing systemnews.sap.comJoule Studio and NVIDIA OpenShell: how SAP plans to keep AI agents on a leashcommunity.sap.comUsers and role collections via the MCP server: the origin key mistake

Discussion

Submitting stores your name, email and comment. See our privacy policy.