Skip to content

Commit 3e0b586

Browse files
committed
update docs
1 parent 0bb2d4d commit 3e0b586

File tree

1 file changed

+53
-0
lines changed
  • sample-setup/modules/sap-btp-naming-conventions

1 file changed

+53
-0
lines changed
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,56 @@
11
# SAP BTP - Naming module
22

33
This module encapsulates the naming conventions for SAP BTP accounts and the labels that can be attached to some resources on SAP BTP.
4+
5+
## Requirements
6+
7+
| Name | Version |
8+
|------|---------|
9+
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.11 |
10+
11+
## Providers
12+
13+
| Name | Version |
14+
|------|---------|
15+
| <a name="provider_random"></a> [random](#provider\_random) | n/a |
16+
17+
## Modules
18+
19+
No modules.
20+
21+
## Resources
22+
23+
| Name | Type |
24+
|------|------|
25+
| [random_uuid.self](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/uuid) | resource |
26+
27+
## Inputs
28+
29+
| Name | Description | Type | Default | Required |
30+
|------|-------------|------|---------|:--------:|
31+
| <a name="input_add_managed_by_label"></a> [add\_managed\_by\_label](#input\_add\_managed\_by\_label) | Add label that resource is managed by Terraform | `bool` | `true` | no |
32+
| <a name="input_business_unit"></a> [business\_unit](#input\_business\_unit) | Business unit of the project e.g., HR, IT or Sales | `string` | n/a | yes |
33+
| <a name="input_company_name"></a> [company\_name](#input\_company\_name) | Company name to be used for subaccount subdomains. The parameter is optional<br/>Default value: `null`. | `string` | `null` | no |
34+
| <a name="input_costcenter"></a> [costcenter](#input\_costcenter) | Cost center to be used for subaccounts | `string` | n/a | yes |
35+
| <a name="input_delimiter"></a> [delimiter](#input\_delimiter) | Delimiter to be used for namings | `string` | `"-"` | no |
36+
| <a name="input_directory_contacts"></a> [directory\_contacts](#input\_directory\_contacts) | Contact persons to be used for directories, added as label | `list(string)` | n/a | yes |
37+
| <a name="input_label_name_case"></a> [label\_name\_case](#input\_label\_name\_case) | Controls the letter case of the `label` names for labels generated by this module.<br/>Possible values: `lower`, `title`, `upper`.<br/>Default value: `title`. | `string` | `"title"` | no |
38+
| <a name="input_label_value_case"></a> [label\_value\_case](#input\_label\_value\_case) | Controls the letter case of the `label` values for labels generated by this module.<br/>Possible values: `lower`, `title`, `upper` and `none` (no transformation).<br/>Default value: `lower`. | `string` | `"lower"` | no |
39+
| <a name="input_management_tool"></a> [management\_tool](#input\_management\_tool) | Defines which tool is used for management of infrastructure.<br/>Possible values: `Terraform`, `OpenTofu`.<br/>Default value: `Terraform`. | `string` | `"Terraform"` | no |
40+
| <a name="input_region"></a> [region](#input\_region) | The geographical region for a directory. The parameter is optional<br/>If you set it the possible values are: `EMEA`, `APAC`, `AMER`.<br/>Default value: `null`. | `string` | `null` | no |
41+
| <a name="input_stage"></a> [stage](#input\_stage) | Stage of the environment to be setup up.<br/>Possible values: `Dev`, `Test`, `Prod`. | `string` | n/a | yes |
42+
| <a name="input_subaccount_contacts"></a> [subaccount\_contacts](#input\_subaccount\_contacts) | Contact persons to be used for subaccounts, added as label | `list(string)` | n/a | yes |
43+
44+
## Outputs
45+
46+
| Name | Description |
47+
|------|-------------|
48+
| <a name="output_cloudfoundry_org_name"></a> [cloudfoundry\_org\_name](#output\_cloudfoundry\_org\_name) | Name of the Cloud Foundry org |
49+
| <a name="output_directory_description"></a> [directory\_description](#output\_directory\_description) | Description of the directory |
50+
| <a name="output_directory_labels"></a> [directory\_labels](#output\_directory\_labels) | Labels for the directory |
51+
| <a name="output_directory_name"></a> [directory\_name](#output\_directory\_name) | Name of the directory |
52+
| <a name="output_subaccount_description"></a> [subaccount\_description](#output\_subaccount\_description) | Description of the subaccount |
53+
| <a name="output_subaccount_labels"></a> [subaccount\_labels](#output\_subaccount\_labels) | Labels for the subaccount |
54+
| <a name="output_subaccount_name"></a> [subaccount\_name](#output\_subaccount\_name) | Name of the subaccount |
55+
| <a name="output_subaccount_subdomain"></a> [subaccount\_subdomain](#output\_subaccount\_subdomain) | Subdomain of the subaccount |
56+
| <a name="output_subaccount_usage"></a> [subaccount\_usage](#output\_subaccount\_usage) | Usage of the subaccount |

0 commit comments

Comments
 (0)