SampleSampletypeA worked example you read or clone. Evidence: it demonstrates, it never provides.See every one →What this type is →by SAPby SAPoriginPublished by SAP itself. A visible facet, never an input to a reading — a dormant official plugin reads exactly like a dormant independent one.See every one →Reference

btp-terraform-mooc-terra1

The code samples for "Getting Started with Terraform on SAP BTP", an SAP learning course that builds up a Terraform configuration lesson by lesson.

The repository is structured in line with the layout of the course and follows it unit by unit: a first basic Terraform configuration, applying it to SAP BTP and inspecting Terraform state, then variables, locals, multiple resources and a Cloud Foundry environment, and finally additional providers, handing over to a development team, extracting reusable logic into modules and iterating over lists. Each lesson's walkthrough of the code is in that lesson's own README, with the solution provided as part of the corresponding directory. It needs an SAP BTP trial account whose SAP Universal ID does not enforce two-factor authentication, which the Terraform Provider for SAP BTP does not support, and, depending on the setup chosen in unit 1, either Docker Desktop with VS Code and the Dev Containers extension or a GitHub Codespace.

Facts

Last pushLicenceApache-2.0

Where it sits

Lives in
Demonstrates
Account provisioningBTPAccount provisioningcapabilitySetting up cloud accounts, their organisational structure, resource entitlements, subscriptions and access assignments so the setup can be repeated from code. [Deployment](capability:deployment) puts an application onto a runtime that this account structure makes available.
Requires
Terraform Provider for SAP BTPTerraform Provider for SAP BTPartifactthe provider the course's configurations are written against and applied to SAP BTP with
Optional
DockerDockeroutside the atlasthe container engine the dev container the lessons are worked through in runs onGitHubGitHuboutside the atlasthe account a Codespace for the course exercises is created under

Who is behind it

SAP SamplesSAP SamplesOrganisationMaintains this
In the atlas: maintains 222
@SAP-samples
maintainerChristian LechnerPersonContributes to this
In the atlas: contributes to 12, wrote 2
@lechnerc77
Rui NogueiraPersonContributes to this
In the atlas: contributes to 6
@rui1610
2 contributors

What it declares

Every artifact

Type
Sample
Origin
By SAP
Use as
A reference

As a sample

Form
A tutorial's companion code

Connections4

README

quoted from SAP-samples/btp-terraform-mooc-terra1 under Apache-2.0, read
SAP-samples/btp-terraform-mooc-terra1/README.mdOn GitHub

REUSE status

Getting Started with Terraform on SAP BTP

Description

This repository contains the code samples used throughout the course "Getting Started with Terraform on SAP BTP".

Prerequisites

There are some requirements you must fulfill before being able to start with the coding exercises using the Terraform provider for SAP BTP. The prerequisites are:

  • 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.

Depending on the setup described in unit 1 lesson 3 further prerequisites are required:

Content Structure

The repository is structured in line with the layout of the course. The walkthrough of the code for every lesson is described in an extensive README.md. We also provide the solution for each lesson as part of the corresponding directory in this repository.

Unit 1 - Getting Started with Infrastructure as Code
Unit 2 - Setting Up a First Terraform Configuration
Unit 3 - Enhancing the Terraform Configuration
Unit 4 - Applying Advanced Terraform Concepts

Support, Feedback, Contributing

❓ - If you have a question you can ask it here in GitHub Discussions or in the SAP Community.

🐞 - If you find a bug, feel free to create a bug report.

Contributing

If you wish to contribute code, offer fixes or improvements, please send a pull request. Due to legal reasons, contributors will be asked to accept a DCO when they create the first pull request to this project. This happens in an automated fashion during the submission process. SAP uses the standard DCO text of the Linux Foundation.

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.

Apache-2.0, read

Details

Sources3
Added by handdiscovered herechecked
github.com/SAP-samples/btp-terraform-mooc-terra1tree, pushes, contributors, CIchecked
README.mdquoted, and what the entry declareschecked

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
discovered viaAdded by hand
first seen in the atlas
ecosystem and domainbtp, operations-and-runtime
Contributors2

From the repository’s contributor list, .

History in the atlas1
  1. First seen.
For your agent
Ref
artifact:sap-samples-btp-terraform-mooc-terra1
JSON
/artifacts/sap-samples-btp-terraform-mooc-terra1.json
MCP
Connecting an agent