SAP-samples/teched2024-XP280
An SAP TechEd 2024 session that creates an SAP BTP subaccount and sets up SAP Build CodeSAP Build CodeSAP's development environment on BTP for SAPUI5, SAP Fiori, mobile and CAP applications that run on the SAP BTP, Cloud Foundry Runtime, in which Joule generates models, services, logic, tests and apps.sap official, btp and SAP Build Process AutomationSAP Build Process AutomationSAP's low-code and no-code tool for business processes: graphical process models, drag-and-drop forms, decision tables and robotic process automation bots, with dashboards over running process instances.sap official, btp with the Terraform Provider for SAP BTPTerraform Provider for SAP BTPThe plugin that lets a Terraform or OpenTofu configuration manage the resources of an SAP BTP global account, from directories and subaccounts to entitlements, role collections and subscriptions.sap official, btp.
Clicking through the cockpit to set up a subaccount and its subscriptions leaves no configuration behind, and this session writes the same setup as TerraformTerraformAn infrastructure as code tool that defines cloud and on-premise resources in configuration files and creates or changes them through provider plugins. SAP publishes a plugin for BTP, so Terraform is the CLI a reader installs to run a BTP account's configuration. configuration instead: exercise 1 sets up the basics of a Terraform configuration, exercise 2 creates a subaccount, and exercises 3 and 4 set up SAP Build CodeSAP Build CodeSAP's development environment on BTP for SAPUI5, SAP Fiori, mobile and CAP applications that run on the SAP BTP, Cloud Foundry Runtime, in which Joule generates models, services, logic, tests and apps.sap official, btp and SAP Build Process AutomationSAP Build Process AutomationSAP's low-code and no-code tool for business processes: graphical process models, drag-and-drop forms, decision tables and robotic process automation bots, with dashboards over running process instances.sap official, btp, so that both sit ready to use in the account at the end. It runs against an SAP BTP trial account and needs an SAP Universal ID configured as SAP Note 3085908 describes; the Terraform Provider for SAP BTPTerraform Provider for SAP BTPThe plugin that lets a Terraform or OpenTofu configuration manage the resources of an SAP BTP global account, from directories and subaccounts to entitlements, role collections and subscriptions.sap official, btp does not support two-factor authentication, so that option must not be enforced for the account. The recommended dev container option adds DockerDockerA container engine that packages software with the tools it needs and runs it isolated from the host. Things here that ship as an image need it installed, so the reader installs the engine rather than each of the command line tools inside the container. Desktop and Visual Studio Code with the Dev Containers extension to that list.
Facts
Where it sits
Who is behind it
In the atlas: maintains 222@SAP-samplesmaintainerAjay SorengContributes to this
In the atlas: contributes to 36@ajaysorengStephen CherianContributes to this
In the atlas: contributes to 5@CHERIANSDJ AdamsContributes to this
Developer Advocate
In the atlas: contributes to 20, wrote 22@qmacroChristian LechnerContributes to this
In the atlas: contributes to 12, wrote 2@lechnerc77ncktz-cbsContributes to this
In the atlas: contributes to 1@ncktz-cbsRui NogueiraContributes to this
In the atlas: contributes to 6@rui16106 contributors
What it declares
Every artifact
- Type
- Sample
- Origin
- By SAP
- Use as
- A reference
As a sample
- Form
- Workshop or CodeJam material
Connections
Setting up cloud accounts, entitlements and access from code
An infrastructure as code tool that defines cloud and on-premise resources in configuration files and creates or changes them through provider plugins. SAP publishes a plugin for BTP, so Terraform is the CLI a reader installs to run a BTP account's configuration.
Terraform and OpenTofu provider for SAP BTP global accounts
A container engine that packages software with the tools it needs and runs it isolated from the host. Things here that ship as an image need it installed, so the reader installs the engine rather than each of the command line tools inside the container.
Download
README
quoted from SAP-samples/teched2024-XP280 under Apache-2.0, readXP280 - From clicks to code: Managing your SAP BTP infrastructure with Terraform
Description
This repository contains the material for the SAP TechEd 2024 session XP280 - From clicks to code: Managing your SAP BTP infrastructure with Terraform.
Overview
This session introduces attendees to Terraform as the de-facto standard for infrastructure as code. You will get hands-on experience with deploying and provisioning services and app subscriptions.

Scenario 📚
In this session we will walk you through the setup process of the SAP Build portfolio via the Terraform Provider for SAP BTP. At the end of the session, you will have the following assets in your SAP BTP trial account ready to use:
- SAP Build Code
- SAP Build Process Automation
Requirements
Make sure that the following prerequisites are met:
- You have an SAP BTP Trial Account. If you don't have one yet, you can get one here.
- Make sure that your SAP Universal ID is configured correctly. You can find the instructions in SAP Note 3085908.
- The Terraform provider does not support 2FA. Make sure that this option is not enforced for your account.
- You need to have a GitHub user. If you don't have one so far, please sign-up on GitHub before going through the exercises.
- For if you intend to use the recommended 'dev container' tools option then you must also have Docker Desktop installed on your machine, as well as Visual Studio Code with the Dev Containers extension.
Exercises
- Getting Started
- Exercise 1 - Setup Basics of Terraform Configuration
- Exercise 2 - Create a Subaccount
- Exercise 3 - Setup of SAP Build Code
- Exercise 4 - Setup of SAP Build Process Automation
Contributing
Please read the CONTRIBUTING.md to understand the contribution guidelines.
Further Information
- Terraform Provider for SAP BTP
- Terraform Provider for Cloud Foundry
- SAP Learning Getting Started with Terraform on SAP BTP
Code of Conduct
Please read the SAP Open Source Code of Conduct.
How to obtain support
Support for the content in this repository is available during the actual time of the online session for which this content has been designed. Otherwise, you may request support via the Issues tab.
License
Copyright (c) 2026 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file. Detailed information, including third-party components and their licensing/copyright information, is available via the REUSE tool.
Details
Sources
Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.
Compatibility and provenance
History in the atlas
- First seen.
For your agent
- Ref
artifact:sap-samples-teched2024-xp280- JSON
- /artifacts/sap-samples-teched2024-xp280.json
- MCP
- Connecting an agent