|
2 | 2 |
|
3 | 3 | ## Assumptions
|
4 | 4 |
|
5 |
| -- We assume a basic setup of a subaccount is executed by the platform team/ SAP BTP administrator team |
6 |
| -- We assume that the responsibility of the platform team is restricted to a basic setup of a subaccount leaving out app subscriptions and service instance creation. |
| 5 | +- We assume a basic setup of a subaccount is executed by your organization's SAP BTP administrator team, Platform Engineering Team, or Center of Expertise. For details, see [Building Teams](https://help.sap.com/docs/btp/btp-admin-guide/building-teams?locale=en-US&version=Cloud#platform-engineering-team-center-of-excellence). |
| 6 | +- We assume that the responsibility of the Platform Engineering Team is restricted to a basic setup of a subaccount, excluding creation of app subscriptions or service instances. |
7 | 7 |
|
8 | 8 | ## Design Decisions
|
9 | 9 |
|
10 |
| -To keep the Terraform state files clearly separated the setup is done per subaccount i.e. per stage. |
| 10 | +To keep the Terraform state files clearly separated, the setup is done per subaccount, that is, per development stage. |
11 | 11 |
|
12 | 12 | ## Subaccount Setup
|
13 | 13 |
|
14 |
| -The setup of the subaccount comprises: |
| 14 | +The setup of the subaccount comprises the following steps: |
15 | 15 |
|
16 |
| -- The setup of a subaccount in accordance to the naming conventions and labeling strategy of the company |
17 |
| -- The trust configuration to a custom IdP is configured by default. |
18 |
| -- Default entitlements are added depending on the stage. In addition the requesting team can add additional project specific entitlements ("à la carte entitlements") |
19 |
| -- Optionally a Cloud Foundry Environment is created |
| 16 | +1. The setup of a subaccount following the naming conventions and labeling strategy of your company. |
| 17 | +2. The trust configuration to a custom IdP is configured by default. |
| 18 | +3. Depending on the development stage, default entitlements are added. In addition, the requesting team can add project-specific entitlements ("à la carte entitlements"). |
| 19 | +4. Optionally, a Cloud Foundry Environment is created. |
20 | 20 |
|
21 | 21 | ### Naming Conventions and Labels
|
22 | 22 |
|
23 |
| -The naming conventions and labels are centralized in the module [sap-btp-naming-conventions-subaccount](../../modules/sap-btp-naming-conventions-subaccount/README.md). The names and labels are derived based on input variables defined in the [variables.tf](./variables.tf) file. |
| 23 | +The naming conventions and labels are centralized in the module [sap-btp-naming-conventions-subaccount](../../modules/sap-btp-naming-conventions-subaccount/README.md). The input variables (see [variables.tf](./variables.tf)) define the names and labels. |
24 | 24 |
|
25 |
| -### Validations for Geographies and BTP Regions |
| 25 | +### Validations for Geographies and SAP BTP Regions |
26 | 26 |
|
27 |
| -According to the SAP BTP Administrators Guide one part of the naming is the geographical region. To ensure that this region fits to the subaccount region, a validation is implemented in the [variables.tf](./variables.tf) file. The validation checks if the region of the subaccount is part of the geographical region. The geographical regions are defined in a local variables defined in the [main.tf](main.tf) file. |
| 27 | +You can include the geographical region in your naming conventions. To ensure that this region fits to the subaccount region, the [variables.tf](./variables.tf) file validates if the region of the subaccount is part of the geographical region. The geographical regions are defined as local variables in the [main.tf](main.tf) file. |
28 | 28 |
|
29 | 29 | ### Setup of Entitlements
|
30 | 30 |
|
31 |
| -The setup of entitlements is split into two parts: |
| 31 | +The setup of entitlements is split into two files: |
32 | 32 |
|
33 |
| -- The default entitlements that are defined per stage and sourced from the module [](../../modules/sap-btp-subaccount-default-entitlements/README.md) |
34 |
| -- Optional additional entitlements that might be needed due to project specific requirements. These entitlements are defined in the [variables.tf](./variables.tf) file |
| 33 | +- The default entitlements that are defined per development stage and sourced from the module (see [SAP BTP - Default Subaccount Entitlements](../../modules/sap-btp-subaccount-default-entitlements/README.md)). |
| 34 | +- Optional additional entitlements, depending on project-specific requirements. These entitlements are defined in the [variables.tf](./variables.tf) file |
35 | 35 |
|
36 | 36 | The configuration merges the two files and adds the entitlements to the subaccount.
|
37 | 37 |
|
38 |
| -To ease the provisioning of entitlements we use the Terraform community module [SAP BTP Entitlements Management with Terraform Module: sap-btp-entitlements](https://registry.terraform.io/modules/aydin-ozcan/sap-btp-entitlements/btp/latest). |
| 38 | +For easier provisioning of entitlements, we use the Terraform community module [SAP BTP Entitlements Management with Terraform Module: sap-btp-entitlements](https://registry.terraform.io/modules/aydin-ozcan/sap-btp-entitlements/btp/latest). |
39 | 39 |
|
40 |
| -### Setup of Cloud Foundry Environment |
| 40 | +### Setup of SAP BTP, Cloud Foundry Runtime |
41 | 41 |
|
42 |
| -The setup of a Cloud Foundry environment is optional. The caller can decide if a Cloud Foundry environment is required or not e.g. when setting up a shared subaccount. The boolean variable is `provision_cf_environment` in the [variables.tf](./variables.tf) file. |
| 42 | +The setup of a Cloud Foundry runtime is optional. The caller can decide if a Cloud Foundry runtime is required or not, for example, when setting up a shared subaccount. The Boolean variable is `provision_cf_environment` in the [variables.tf](./variables.tf) file. |
43 | 43 |
|
44 |
| -The configuration of the setup is done in the corresponding module [`sap-btp-environment/cloudfoundry`](../../modules/sap-btp-environment/cloudfoundry/README.md). |
| 44 | +The setup is configured in the corresponding module [`sap-btp-environment/cloudfoundry`](../../modules/sap-btp-environment/cloudfoundry/README.md). |
45 | 45 |
|
46 |
| -### Setup of Kyma Environment |
| 46 | +### Setup of SAP BTP, Kyma Runtime |
47 | 47 |
|
48 |
| -The setup of a Kyma environment is optional. The caller can decide if a Kyma environment is required or not e.g. when setting up a shared subaccount. The boolean variable is `provision_kyma_environment` in the [variables.tf](./variables.tf) file. |
| 48 | +The setup of a Kyma runtime is optional. The caller can decide if a Kyma runtime is required or not, for example, when setting up a shared subaccount. The Boolean variable is `provision_kyma_environment` in the [variables.tf](./variables.tf) file. |
49 | 49 |
|
50 |
| -If the Kyma environment is requested, the variable `kyma_administrators` in the [variables.tf](./variables.tf) file must be filled with the users that should be assigned as administrators. This condition is validated |
| 50 | +If the Kyma runtime is requested, the users that should be assigned as administrators must be entered in the variable `kyma_administrators` in the [variables.tf](./variables.tf) file. This condition is validated. |
51 | 51 |
|
52 |
| -The configuration of the setup is done in the corresponding module [`sap-btp-environment/kyma`](../../modules/sap-btp-environment/kyma/README.md). |
| 52 | +The setup is configured in the corresponding module [`sap-btp-environment/kyma`](../../modules/sap-btp-environment/kyma/README.md). |
53 | 53 |
|
54 | 54 | ### Output
|
55 | 55 |
|
56 |
| -The output defined in the [outputs.tf](./outputs.tf) file returns the main information relevant for the development team namely: |
| 56 | +The output defined in the [outputs.tf](./outputs.tf) file returns the main information relevant for the development team, such as: |
57 | 57 |
|
58 |
| -- a link to the subaccount |
59 |
| -- The ID of the Cloud Foundry org if a Cloud Foundry environment is created |
60 |
| -- The API endpoint of the Cloud Foundry environment if a Cloud Foundry environment is created |
61 |
| -- The URL to the Kyma dashboard if a Kyma environment is created |
62 |
| -- The URL to the Kubeconfig file for the Kyma runtime if a Kyma environment is created |
| 58 | +- A link to the subaccount |
| 59 | +- If a Cloud Foundry runtime is created, the ID of the Cloud Foundry org |
| 60 | +- If a Cloud Foundry runtime is created, the API endpoint of the Cloud Foundry environment |
| 61 | +- If a Kyma runtime is created, the URL to the Kyma dashboard |
| 62 | +- If a Kyma runtime is created, the URL to the Kubeconfig file for the Kyma runtime |
63 | 63 |
|
64 | 64 | ## SAP BTP Administrator's Guide - References
|
65 | 65 |
|
|
0 commit comments