An open API service indexing awesome lists of open source software.

https://github.com/loafoe/terraform-hsdp-timescaledb

Deploy TimescaleDB to Container Host
https://github.com/loafoe/terraform-hsdp-timescaledb

container-host hsdp terraform terraform-module timescaledb

Last synced: 3 months ago
JSON representation

Deploy TimescaleDB to Container Host

Awesome Lists containing this project

README

        

# HSDP TimescaleDB module

This module deploys TimescaleDB on Container Host. Connect to it from your
Cloud foundry application or other platform service.

## Requirements

| Name | Version |
|------|---------|
| [hsdp](#requirement\_hsdp) | >= 0.30.0 |

## Providers

| Name | Version |
|------|---------|
| [hsdp](#provider\_hsdp) | 0.30.10 |
| [random](#provider\_random) | 3.1.2 |

## Modules

No modules.

## Resources

| Name | Type |
|------|------|
| [hsdp_container_host.timescaledb](https://registry.terraform.io/providers/philips-software/hsdp/latest/docs/resources/container_host) | resource |
| [hsdp_container_host_exec.server](https://registry.terraform.io/providers/philips-software/hsdp/latest/docs/resources/container_host_exec) | resource |
| [random_password.root](https://registry.terraform.io/providers/random/latest/docs/resources/password) | resource |
| [random_pet.deploy](https://registry.terraform.io/providers/random/latest/docs/resources/pet) | resource |
| [hsdp_config.cf](https://registry.terraform.io/providers/philips-software/hsdp/latest/docs/data-sources/config) | data source |
| [hsdp_config.logging](https://registry.terraform.io/providers/philips-software/hsdp/latest/docs/data-sources/config) | data source |

## Inputs

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [agent](#input\_agent) | Use SSH agent for authentication | `bool` | `false` | no |
| [cartel\_secret](#input\_cartel\_secret) | The Cartel secret to use for autoscaling | `string` | `""` | no |
| [cartel\_token](#input\_cartel\_token) | The Cartel token to use for autoscaling | `string` | `""` | no |
| [docker\_password](#input\_docker\_password) | Docker registry password | `string` | `""` | no |
| [docker\_username](#input\_docker\_username) | Docker registry username | `string` | `""` | no |
| [fluent\_bit\_image](#input\_fluent\_bit\_image) | Fluent-bit image | `string` | `"philipssoftware/fluent-bit-out-hsdp:latest"` | no |
| [hsdp\_custom\_field](#input\_hsdp\_custom\_field) | Post structured JSON message to HSDP Logging custom field | `string` | `"true"` | no |
| [hsdp\_environment](#input\_hsdp\_environment) | The HSDP environment of the deployment | `string` | `"client-test"` | no |
| [hsdp\_product\_key](#input\_hsdp\_product\_key) | HSDP Logging product key | `string` | `""` | no |
| [hsdp\_region](#input\_hsdp\_region) | The HSDP region of the deployment | `string` | `"us-east"` | no |
| [hsdp\_secret\_key](#input\_hsdp\_secret\_key) | HSDP Logging secret key | `string` | `""` | no |
| [hsdp\_shared\_key](#input\_hsdp\_shared\_key) | HSDP Logging shared key | `string` | `""` | no |
| [instance\_type](#input\_instance\_type) | The instance type to use | `string` | `"t2.medium"` | no |
| [name\_postfix](#input\_name\_postfix) | The postfix string to append to the hostname, prevents namespace clashes | `string` | `""` | no |
| [private\_key](#input\_private\_key) | Private key for SSH access (should not have a passphrase) | `string` | `""` | no |
| [timescaledb\_image](#input\_timescaledb\_image) | The TimescaleDB server image to use | `string` | `"timescale/timescaledb:latest-pg12"` | no |
| [user](#input\_user) | LDAP user to use for connections | `string` | n/a | yes |
| [user\_groups](#input\_user\_groups) | User groups to assign to cluster | `list(string)` | n/a | yes |
| [volume\_size](#input\_volume\_size) | The volume size to use in GB | `number` | `50` | no |

## Outputs

| Name | Description |
|------|-------------|
| [timescaledb\_id](#output\_timescaledb\_id) | Server ID of TimescaleDB |
| [timescaledb\_ip](#output\_timescaledb\_ip) | Private IP address of TimescaleDB server |
| [timescaledb\_password](#output\_timescaledb\_password) | Password |

# Contact / Getting help

Please post your questions on the HSDP Slack `#terraform` channel

# License

License is MIT

## Requirements

| Name | Version |
|------|---------|
| [hsdp](#requirement\_hsdp) | >= 0.30.0 |
| [ssh](#requirement\_ssh) | >= 2.1.0 |

## Providers

| Name | Version |
|------|---------|
| [hsdp](#provider\_hsdp) | 0.42.1 |
| [random](#provider\_random) | 3.5.1 |
| [ssh](#provider\_ssh) | 2.6.0 |

## Modules

No modules.

## Resources

| Name | Type |
|------|------|
| [hsdp_container_host.timescaledb](https://registry.terraform.io/providers/philips-software/hsdp/latest/docs/resources/container_host) | resource |
| [random_password.root](https://registry.terraform.io/providers/random/latest/docs/resources/password) | resource |
| [random_pet.deploy](https://registry.terraform.io/providers/random/latest/docs/resources/pet) | resource |
| [ssh_resource.server](https://registry.terraform.io/providers/loafoe/ssh/latest/docs/resources/resource) | resource |
| [hsdp_config.cf](https://registry.terraform.io/providers/philips-software/hsdp/latest/docs/data-sources/config) | data source |
| [hsdp_config.gw](https://registry.terraform.io/providers/philips-software/hsdp/latest/docs/data-sources/config) | data source |
| [hsdp_config.logging](https://registry.terraform.io/providers/philips-software/hsdp/latest/docs/data-sources/config) | data source |

## Inputs

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [agent](#input\_agent) | Use SSH agent for authentication | `bool` | `false` | no |
| [cartel\_secret](#input\_cartel\_secret) | The Cartel secret to use for autoscaling | `string` | `""` | no |
| [cartel\_token](#input\_cartel\_token) | The Cartel token to use for autoscaling | `string` | `""` | no |
| [docker\_password](#input\_docker\_password) | Docker registry password | `string` | `""` | no |
| [docker\_username](#input\_docker\_username) | Docker registry username | `string` | `""` | no |
| [fluent\_bit\_image](#input\_fluent\_bit\_image) | Fluent-bit image | `string` | `"philipssoftware/fluent-bit-out-hsdp:latest"` | no |
| [hsdp\_custom\_field](#input\_hsdp\_custom\_field) | Post structured JSON message to HSDP Logging custom field | `string` | `"true"` | no |
| [hsdp\_environment](#input\_hsdp\_environment) | The HSDP environment of the deployment | `string` | `"client-test"` | no |
| [hsdp\_product\_key](#input\_hsdp\_product\_key) | HSDP Logging product key | `string` | `""` | no |
| [hsdp\_region](#input\_hsdp\_region) | The HSDP region of the deployment | `string` | `"us-east"` | no |
| [hsdp\_secret\_key](#input\_hsdp\_secret\_key) | HSDP Logging secret key | `string` | `""` | no |
| [hsdp\_shared\_key](#input\_hsdp\_shared\_key) | HSDP Logging shared key | `string` | `""` | no |
| [instance\_type](#input\_instance\_type) | The instance type to use | `string` | `"t2.medium"` | no |
| [name\_postfix](#input\_name\_postfix) | The postfix string to append to the hostname, prevents namespace clashes | `string` | `""` | no |
| [private\_key](#input\_private\_key) | Private key for SSH access (should not have a passphrase) | `string` | `""` | no |
| [timescaledb\_image](#input\_timescaledb\_image) | The TimescaleDB server image to use | `string` | `"timescale/timescaledb:latest-pg12"` | no |
| [user](#input\_user) | LDAP user to use for connections | `string` | n/a | yes |
| [user\_groups](#input\_user\_groups) | User groups to assign to cluster | `list(string)` | n/a | yes |
| [volume\_size](#input\_volume\_size) | The volume size to use in GB | `number` | `50` | no |

## Outputs

| Name | Description |
|------|-------------|
| [timescaledb\_id](#output\_timescaledb\_id) | Server ID of TimescaleDB |
| [timescaledb\_ip](#output\_timescaledb\_ip) | Private IP address of TimescaleDB server |
| [timescaledb\_password](#output\_timescaledb\_password) | Password |