Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
Signed-off-by: Niklas Ott <[email protected]>
  • Loading branch information
ceriath committed May 31, 2024
1 parent 9a96a2f commit c5421b8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
5 changes: 1 addition & 4 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,10 @@ provider "sys11dbaas" {
<!-- schema generated by tfplugindocs -->
## Schema

### Required
### Optional

- `api_key` (String) API key to use for authentication to the DBaaS API. If omitted, the `SYS11DBAAS_API_KEY` environment variable is used.
- `organization` (String) ID of your organization. If omitted, the `SYS11DBAAS_ORGANIZATION` environment variable is used.
- `project` (String) ID of your project. If omitted, the `SYS11DBAAS_PROJECT` environment variable is used.

### Optional

- `url` (String) URL of the DBaaS API. If omitted, the `SYS11DBAAS_URL` environment variable is used. Otherwise fallbacks to https://dbaas.apis.syseleven.de
- `wait_for_creation` (Boolean) Whether to wait for the service to be created. If omitted, the `SYS11DBAAS_WAIT_FOR_CREATION` environment variable is used. Defaults to true
10 changes: 5 additions & 5 deletions docs/resources/database.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,14 +110,14 @@ Optional:

Required:

- `disksize` (Number) Disksize in GB
- `flavor` (String) vm flavor to use
- `region` (String) the region for the database
- `disksize` (Number) Disksize in GB.
- `flavor` (String) VM flavor to use.
- `region` (String) Region for the database.

Optional:

- `maintenance_window` (Attributes) The maintenance window. This will be a time window for updates and maintenance. If omitted, a random window will be generated. (see [below for nested schema](#nestedatt--service_config--maintenance_window))
- `remote_ips` (List of String) List of IP addresses, that should be allowed to connect to the database
- `maintenance_window` (Attributes) Maintenance window. This will be a time window for updates and maintenance. If omitted, a random window will be generated. (see [below for nested schema](#nestedatt--service_config--maintenance_window))
- `remote_ips` (List of String) List of IP addresses, that should be allowed to connect to the database.
- `type` (String) Type of the service you want to create (default `database`)

<a id="nestedatt--service_config--maintenance_window"></a>
Expand Down

0 comments on commit c5421b8

Please sign in to comment.