Skip to content

Commit ec34bc6

Browse files
authored
DC Mission 4172 - Polished for QAS (#322)
1 parent d53bc14 commit ec34bc6

File tree

14 files changed

+404
-336
lines changed

14 files changed

+404
-336
lines changed

released/discovery_center/mission_4172/README.md

Lines changed: 0 additions & 32 deletions
This file was deleted.

released/discovery_center/mission_4172/apply.sh

Lines changed: 0 additions & 14 deletions
This file was deleted.

released/discovery_center/mission_4172/destroy.sh

Lines changed: 0 additions & 12 deletions
This file was deleted.
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# Discovery Center Mission: Build Events-to-Business Actions Apps with SAP BTP and MS Azure/AWS (4172) - Step 1
2+
3+
## Overview
4+
5+
This sample shows how to create a landscape for the Discovery Center Mission - [Build Events-to-Business Actions Apps with SAP BTP and MS Azure/AWS](https://discovery-center.cloud.sap/missiondetail/4172/)
6+
7+
## Content of setup
8+
9+
The setup comprises the following resources:
10+
11+
- Creation of the SAP BTP subaccount
12+
- Entitlements of services
13+
- Subscriptions to applications
14+
- Role collection assignments to users
15+
- Creation of CF environments
16+
- Management of users and roles on org and space level
17+
18+
## Deploying the resources
19+
20+
To deploy the resources you must:
21+
22+
1. Set your credentials as environment variables
23+
24+
```bash
25+
export BTP_USERNAME ='<Email address of your BTP user>'
26+
export BTP_PASSWORD ='<Password of your BTP user>'
27+
export CF_USER ='<Email address of your BTP user>'
28+
export CF_PASSWORD ='<Password of your BTP user>'
29+
```
30+
31+
2. Change the variables in the `sample.tfvars` file in the main folder to meet your requirements
32+
33+
> 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
34+
35+
> ⚠ 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: [email protected]`.
36+
37+
38+
3. Initialize your workspace:
39+
40+
```bash
41+
terraform init
42+
```
43+
44+
4. You can check what Terraform plans to apply based on your configuration:
45+
46+
```bash
47+
terraform plan -var-file="sample.tfvars"
48+
```
49+
50+
5. Apply your configuration to provision the resources:
51+
52+
```bash
53+
terraform apply -var-file="sample.tfvars"
54+
```
55+
56+
## In the end
57+
58+
You probably want to remove the assets after trying them out to avoid unnecessary costs. To do so execute the following command:
59+
60+
```bash
61+
terraform destroy -var-file="sample.tfvars"
62+
```

released/discovery_center/mission_4172/step1/locals.tf

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)