Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/scaleway-terraform-modules/terraform-scaleway-sdb
Manage Serverless Databases on Scaleway with Terraform.
https://github.com/scaleway-terraform-modules/terraform-scaleway-sdb
postgresql scaleway scaleway-sdb sdb serverless terraform-module
Last synced: about 1 month ago
JSON representation
Manage Serverless Databases on Scaleway with Terraform.
- Host: GitHub
- URL: https://github.com/scaleway-terraform-modules/terraform-scaleway-sdb
- Owner: scaleway-terraform-modules
- License: mpl-2.0
- Created: 2024-08-13T21:15:29.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-09-11T18:20:04.000Z (2 months ago)
- Last Synced: 2024-09-27T18:42:30.276Z (about 2 months ago)
- Topics: postgresql, scaleway, scaleway-sdb, sdb, serverless, terraform-module
- Language: HCL
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Terraform / Scaleway
## Purpose
This repository is used to manage Serverless Databases on scaleway using terraform.
## Usage
- Setup the [scaleway provider](https://www.terraform.io/docs/providers/scaleway/index.html) in your tf file.
- Include this module in your tf file. Refer to [documentation](https://www.terraform.io/docs/modules/sources.html#generic-git-repository).```hcl
module "sdb" {
source = "scaleway-terraform-modules/sdb/scaleway"# insert required variables here
}
```## Requirements
| Name | Version |
|------|---------|
| [terraform](#requirement_terraform) | >= 0.13 |
| [scaleway](#requirement_scaleway) | >= 2.43.0 |
| [time](#requirement_time) | 0.12.0 |## Resources
| Name | Type |
|------|------|
| [scaleway_iam_api_key.admin](https://registry.terraform.io/providers/scaleway/scaleway/latest/docs/resources/iam_api_key) | resource |
| [scaleway_iam_api_key.ro](https://registry.terraform.io/providers/scaleway/scaleway/latest/docs/resources/iam_api_key) | resource |
| [scaleway_iam_api_key.rw](https://registry.terraform.io/providers/scaleway/scaleway/latest/docs/resources/iam_api_key) | resource |
| [scaleway_iam_application.admin](https://registry.terraform.io/providers/scaleway/scaleway/latest/docs/resources/iam_application) | resource |
| [scaleway_iam_application.ro](https://registry.terraform.io/providers/scaleway/scaleway/latest/docs/resources/iam_application) | resource |
| [scaleway_iam_application.rw](https://registry.terraform.io/providers/scaleway/scaleway/latest/docs/resources/iam_application) | resource |
| [scaleway_iam_policy.admin](https://registry.terraform.io/providers/scaleway/scaleway/latest/docs/resources/iam_policy) | resource |
| [scaleway_iam_policy.ro](https://registry.terraform.io/providers/scaleway/scaleway/latest/docs/resources/iam_policy) | resource |
| [scaleway_iam_policy.rw](https://registry.terraform.io/providers/scaleway/scaleway/latest/docs/resources/iam_policy) | resource |
| [scaleway_sdb_sql_database.main](https://registry.terraform.io/providers/scaleway/scaleway/latest/docs/resources/sdb_sql_database) | resource |
| [time_rotating.keys_ttl](https://registry.terraform.io/providers/hashicorp/time/0.12.0/docs/resources/rotating) | resource |
| [scaleway_account_project.current](https://registry.terraform.io/providers/scaleway/scaleway/latest/docs/data-sources/account_project) | data source |## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [name](#input_name) | Name of the database. | `string` | n/a | yes |
| [keys_ttl](#input_keys_ttl) | TTL of IAM keys in days. | `number` | `0` | no |
| [max_cpu](#input_max_cpu) | Maximum number of CPU units for your database. | `number` | `15` | no |
| [min_cpu](#input_min_cpu) | Minimum number of CPU units for your database. | `number` | `0` | no |
| [region](#input_region) | Region in which the resource exists. | `string` | `null` | no |## Outputs
| Name | Description |
|------|-------------|
| [admin_connection_string](#output_admin_connection_string) | Connection string to connect with admin permissions. |
| [endpoint](#output_endpoint) | Endpoint of the database. |
| [ro_connection_string](#output_ro_connection_string) | Connection string to connect with read only permissions. |
| [rw_connection_string](#output_rw_connection_string) | Connection string to connect with read/write permissions. |## Authors
Module is maintained with help from [the community](https://github.com/scaleway-terraform-modules/terraform-scaleway-domain/graphs/contributors).
## License
Mozilla Public License 2.0 Licensed. See [LICENSE](https://github.com/scaleway-terraform-modules/terraform-scaleway-domain/tree/master/LICENSE) for full details.