You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/sapbtp/subaccounts/buildingblock/APP_TEAM_README.md
+22-4Lines changed: 22 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,20 +6,36 @@ This building block is designed for application teams that need to develop and d
6
6
7
7
**Usage Examples**
8
8
9
-
* A developer wants to create a new subaccount for a proof-of-concept project with SAP Build Code and Process Automation enabled. They use this building block to quickly provision a subaccount with the required subscriptions.
10
-
* An application team wants to create a dedicated subaccount for their production application with Cloud Foundry enabled for deployment and SAP IAS configured for single sign-on.
11
-
* A development team needs a sandbox environment with multiple SAP applications subscribed and proper entitlements allocated for testing purposes.
9
+
* Create a proof-of-concept project with SAP Build Code and Process Automation
10
+
* Create a production subaccount with Cloud Foundry, PostgreSQL, Redis, and SAP IAS SSO
11
+
* Set up a sandbox with multiple SAP applications and Cloud Foundry services for testing
12
+
* Quickly configure an Integration Suite environment with connectivity services
13
+
* Provision a development environment with Build Work Zone, Build Code, and supporting services
12
14
13
15
**Features**
14
16
15
-
**Application Subscriptions**: Subscribe to SAP BTP applications like SAP Build Code, SAP Process Automation, or Cloud Transport within the subaccount.
17
+
**Application Subscriptions**: Subscribe to SAP BTP applications like SAP Build Code, SAP Process Automation, SAP Build Work Zone, Integration Suite, or Cloud Transport within the subaccount.
16
18
17
19
**Entitlements Management**: Automatically configure service entitlements required for application subscriptions and service usage.
18
20
19
21
**Cloud Foundry Environment**: Optionally provision a Cloud Foundry space for application deployment and development.
20
22
23
+
**Cloud Foundry Services**: Provision commonly used Cloud Foundry service instances such as PostgreSQL, Redis, Destination service, XSUAA, Application Logging, HTML5 Repository, Job Scheduler, Credential Store, and more.
24
+
21
25
**Trust Configuration**: Configure external identity providers like SAP IAS for single sign-on authentication.
22
26
27
+
**Most Popular SAP BTP Services Available**:
28
+
- SAP Build Work Zone (central launchpad)
29
+
- SAP Build Code (low-code development)
30
+
- SAP Build Apps (no-code app builder)
31
+
- SAP Build Process Automation
32
+
- SAP Integration Suite
33
+
- SAP HANA Cloud
34
+
- SAP Business Application Studio
35
+
- PostgreSQL and Redis databases
36
+
- Destination and Connectivity services
37
+
- XSUAA (Authentication & Authorization)
38
+
23
39
**Shared Responsibility**
24
40
25
41
| Responsibility | Platform Team ✅/❌ | Application Team ✅/❌ |
@@ -28,9 +44,11 @@ This building block is designed for application teams that need to develop and d
|[btp_directories.all](https://registry.terraform.io/providers/SAP/btp/latest/docs/data-sources/directories)| data source |
197
+
|[btp_subaccount_service_plan.cf_service_plan](https://registry.terraform.io/providers/SAP/btp/latest/docs/data-sources/subaccount_service_plan)| data source |
103
198
104
199
## Inputs
105
200
106
201
| Name | Description | Type | Default | Required |
| <aname="input_cloudfoundry_instance"></a> [cloudfoundry\_instance](#input\_cloudfoundry\_instance)| Configuration for Cloud Foundry environment instance. Set to null to skip creation. | <pre>object({<br> name = optional(string, "cf-instance")<br> environment = optional(string, "cloudfoundry")<br> plan_name = string<br> parameters = optional(map(string), {})<br> })</pre> |`null`| no |
109
-
| <aname="input_entitlements"></a> [entitlements](#input\_entitlements)| List of entitlements to assign to the subaccount. For quota-based services, specify 'amount'. For multitenant applications (category APPLICATION), omit 'amount' or set to null. Entitlements must be configured before subscriptions can be created. | <pre>list(object({<br> service_name = string<br> plan_name = string<br> amount = optional(number)<br> }))</pre> |`[]`| no |
203
+
| <aname="input_cf_services"></a> [cf\_services](#input\_cf\_services)| Comma-separated list of Cloud Foundry service instances in format: service.plan (e.g., 'postgresql.small,destination.lite,redis.medium') |`string`|`""`| no |
204
+
| <aname="input_cloudfoundry_plan"></a> [cloudfoundry\_plan](#input\_cloudfoundry\_plan)| Cloud Foundry environment plan (standard or trial) |`string`|`"standard"`| no |
205
+
| <aname="input_cloudfoundry_space_name"></a> [cloudfoundry\_space\_name](#input\_cloudfoundry\_space\_name)| Name for the Cloud Foundry space |`string`|`"dev"`| no |
206
+
| <aname="input_enable_cloudfoundry"></a> [enable\_cloudfoundry](#input\_enable\_cloudfoundry)| Enable Cloud Foundry environment in the subaccount |`bool`|`false`| no |
207
+
| <aname="input_entitlements"></a> [entitlements](#input\_entitlements)| Comma-separated list of service entitlements in format: service.plan (e.g., 'postgresql-db.trial,destination.lite,xsuaa.application') |`string`|`""`| no |
110
208
| <aname="input_globalaccount"></a> [globalaccount](#input\_globalaccount)| The subdomain of the global account in which you want to manage resources. |`string`| n/a | yes |
209
+
| <aname="input_identity_provider"></a> [identity\_provider](#input\_identity\_provider)| Custom identity provider origin (e.g., mytenant.accounts.ondemand.com). Leave empty to skip trust configuration. |`string`|`""`| no |
| <aname="input_region"></a> [region](#input\_region)| The region of the subaccount. |`string`|`"eu30"`| no |
113
-
| <aname="input_subfolder"></a> [subfolder](#input\_subfolder)| The subfolder to use for the SAP BTP resources. This is used to create a folder structure in the SAP BTP cockpit. |`string`| n/a | yes |
114
-
| <aname="input_subscriptions"></a> [subscriptions](#input\_subscriptions)| List of application subscriptions to create in the subaccount (e.g., SAP Build Code, Process Automation). | <pre>list(object({<br> app_name = string<br> plan_name = string<br> parameters = optional(map(string), {})<br> }))</pre> |`[]`| no |
115
-
| <aname="input_trust_configuration"></a> [trust\_configuration](#input\_trust\_configuration)| Trust configuration for external Identity Provider (e.g., SAP IAS). Set to null to skip configuration. Only identity\_provider is required; origin and other attributes are computed. | <pre>object({<br> identity_provider = string<br> })</pre> |`null`| no |
211
+
| <aname="input_region"></a> [region](#input\_region)| The region of the subaccount. |`string`|`"eu10"`| no |
212
+
| <aname="input_subfolder"></a> [subfolder](#input\_subfolder)| The subfolder to use for the SAP BTP resources. This is used to create a folder structure in the SAP BTP cockpit. |`string`|`""`| no |
213
+
| <aname="input_subscriptions"></a> [subscriptions](#input\_subscriptions)| Comma-separated list of application subscriptions in format: app.plan (e.g., 'build-workzone.standard,integrationsuite.enterprise\_agreement') |`string`|`""`| no |
116
214
| <aname="input_users"></a> [users](#input\_users)| Users and their roles provided by meshStack | <pre>list(object(<br> {<br> meshIdentifier = string<br> username = string<br> firstName = string<br> lastName = string<br> email = string<br> euid = string<br> roles = list(string)<br> }<br> ))</pre> |`[]`| no |
| <aname="output_cloudfoundry_instance_id"></a> [cloudfoundry\_instance\_id](#output\_cloudfoundry\_instance\_id)| ID of the Cloud Foundry environment instance (if created) |
128
225
| <aname="output_cloudfoundry_instance_state"></a> [cloudfoundry\_instance\_state](#output\_cloudfoundry\_instance\_state)| State of the Cloud Foundry environment instance (if created) |
226
+
| <aname="output_cloudfoundry_services"></a> [cloudfoundry\_services](#output\_cloudfoundry\_services)| Map of Cloud Foundry service instances created in this subaccount |
129
227
| <aname="output_entitlements"></a> [entitlements](#output\_entitlements)| Map of entitlements created for this subaccount |
130
228
| <aname="output_subscriptions"></a> [subscriptions](#output\_subscriptions)| Map of application subscriptions created in this subaccount |
131
229
| <aname="output_trust_configuration_origin"></a> [trust\_configuration\_origin](#output\_trust\_configuration\_origin)| Origin key of the configured trust configuration (if configured) |
0 commit comments