|
| 1 | +# SAP BTP - Kyma Environment Setup |
| 2 | + |
| 3 | +This module encapsulates the creation of a Kyma environment in a subaccount on SAP BTP. The configuration is a basic setup. In a real world scenario, you would likely want to customize the setup further with respect to the available parameters like machine type etc. as described in the [documentation](https://help.sap.com/docs/btp/sap-business-technology-platform/provisioning-and-update-parameters-in-kyma-environment) depending on the stage of the environment (development, test, production). |
| 4 | + |
| 5 | +## Requirements |
| 6 | + |
| 7 | +| Name | Version | |
| 8 | +|------|---------| |
| 9 | +| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.11 | |
| 10 | +| <a name="requirement_btp"></a> [btp](#requirement\_btp) | >= 1.11.0 | |
| 11 | + |
| 12 | +## Providers |
| 13 | + |
| 14 | +| Name | Version | |
| 15 | +|------|---------| |
| 16 | +| <a name="provider_btp"></a> [btp](#provider\_btp) | >= 1.11.0 | |
| 17 | + |
| 18 | +## Modules |
| 19 | + |
| 20 | +No modules. |
| 21 | + |
| 22 | +## Resources |
| 23 | + |
| 24 | +| Name | Type | |
| 25 | +|------|------| |
| 26 | +| [btp_subaccount_entitlement.kymaruntime](https://registry.terraform.io/providers/SAP/btp/latest/docs/resources/subaccount_entitlement) | resource | |
| 27 | +| [btp_subaccount_environment_instance.kymaruntime](https://registry.terraform.io/providers/SAP/btp/latest/docs/resources/subaccount_environment_instance) | resource | |
| 28 | +| [btp_regions.all](https://registry.terraform.io/providers/SAP/btp/latest/docs/data-sources/regions) | data source | |
| 29 | +| [btp_subaccount.this](https://registry.terraform.io/providers/SAP/btp/latest/docs/data-sources/subaccount) | data source | |
| 30 | + |
| 31 | +## Inputs |
| 32 | + |
| 33 | +| Name | Description | Type | Default | Required | |
| 34 | +|------|-------------|------|---------|:--------:| |
| 35 | +| <a name="input_instance_name"></a> [instance\_name](#input\_instance\_name) | Name of the Kyma environment instance. | `string` | n/a | yes | |
| 36 | +| <a name="input_kyma_administrators"></a> [kyma\_administrators](#input\_kyma\_administrators) | Users to be assigned as administrators. | `list(string)` | `[]` | no | |
| 37 | +| <a name="input_oidc"></a> [oidc](#input\_oidc) | Custom OpenID Connect IdP configuration to authenticate users in your Kyma runtime. | <pre>object({<br/> # the URL of the OpenID issuer (use the https schema)<br/> issuer_url = string<br/><br/> # the client ID for the OpenID client<br/> client_id = string<br/><br/> #the name of a custom OpenID Connect claim for specifying user groups<br/> groups_claim = string<br/><br/> # the list of allowed cryptographic algorithms used for token signing. The allowed values are defined by RFC 7518.<br/> signing_algs = set(string)<br/><br/> # the prefix for all usernames. If you don't provide it, username claims other than “email” are prefixed by the issuerURL to avoid clashes. To skip any prefixing, provide the value as -.<br/> username_prefix = string<br/><br/> # the name of a custom OpenID Connect claim for specifying a username<br/> username_claim = string<br/> })</pre> | `null` | no | |
| 38 | +| <a name="input_plan_name"></a> [plan\_name](#input\_plan\_name) | Desired service plan for the Kyma environment instance.<br/>If not provided it will be set to the default value of the region. | `string` | `null` | no | |
| 39 | +| <a name="input_subaccount_id"></a> [subaccount\_id](#input\_subaccount\_id) | ID of the subaccount where the Cloud Foundry environment will be created. | `string` | n/a | yes | |
| 40 | + |
| 41 | +## Outputs |
| 42 | + |
| 43 | +| Name | Description | |
| 44 | +|------|-------------| |
| 45 | +| <a name="output_kyma_dashboard_url"></a> [kyma\_dashboard\_url](#output\_kyma\_dashboard\_url) | The URL to the Kyma dashboard | |
| 46 | +| <a name="output_kyma_kubeconfig_url"></a> [kyma\_kubeconfig\_url](#output\_kyma\_kubeconfig\_url) | The URL to the Kubeconfig file for the Kyma runtime | |
0 commit comments