Skip to content

DC Mission 3501 - Polished for QAS #319

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 0 additions & 32 deletions released/discovery_center/mission_3501/README.md

This file was deleted.

14 changes: 0 additions & 14 deletions released/discovery_center/mission_3501/apply.sh

This file was deleted.

12 changes: 0 additions & 12 deletions released/discovery_center/mission_3501/destroy.sh

This file was deleted.

62 changes: 62 additions & 0 deletions released/discovery_center/mission_3501/step1/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Discovery Center Mission: Enhance core ERP business processes with resilient applications on SAP BTP (3501) - Step 1

## Overview

This sample shows how to create a landscape for the Discovery Center Mission - [Enhance core ERP business processes with resilient applications on SAP BTP](https://discovery-center.cloud.sap/missiondetail/3501/)

## Content of setup

The setup comprises the following resources:

- Creation of the SAP BTP subaccount
- Entitlements of services
- Subscriptions to applications
- Role collection assignments to users
- Creation of CF environments
- Management of users and roles on org and space level

## Deploying the resources

To deploy the resources you must:

1. Set your credentials as environment variables

```bash
export BTP_USERNAME ='<Email address of your BTP user>'
export BTP_PASSWORD ='<Password of your BTP user>'
export CF_USER ='<Email address of your BTP user>'
export CF_PASSWORD ='<Password of your BTP user>'
```

2. Change the variables in the `sample.tfvars` file in the main folder to meet your requirements

> The minimal set of parameters you should specify (besides user_email and password) is global account (i.e. its subdomain) and the used custom_idp and all user assignments

> ⚠ NOTE: You should pay attention **specifically** to the users defined in the sample.tfvars whether they already exist in your SAP BTP accounts. Otherwise, you might get error messages like, e.g., `Error: The user could not be found: jane.doe@test.com`.


3. Initialize your workspace:

```bash
terraform init
```

4. You can check what Terraform plans to apply based on your configuration:

```bash
terraform plan -var-file="sample.tfvars"
```

5. Apply your configuration to provision the resources:

```bash
terraform apply -var-file="sample.tfvars"
```

## In the end

You probably want to remove the assets after trying them out to avoid unnecessary costs. To do so execute the following command:

```bash
terraform destroy -var-file="sample.tfvars"
```
5 changes: 0 additions & 5 deletions released/discovery_center/mission_3501/step1/locals.tf

This file was deleted.

Loading