Skip to content

loafoe/terraform-hsdp-timescaledb

Repository files navigation

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 >= 0.30.0

Providers

Name Version
hsdp 0.30.10
random 3.1.2

Modules

No modules.

Resources

Name Type
hsdp_container_host.timescaledb resource
hsdp_container_host_exec.server resource
random_password.root resource
random_pet.deploy resource
hsdp_config.cf data source
hsdp_config.logging data source

Inputs

Name Description Type Default Required
agent Use SSH agent for authentication bool false no
cartel_secret The Cartel secret to use for autoscaling string "" no
cartel_token The Cartel token to use for autoscaling string "" no
docker_password Docker registry password string "" no
docker_username Docker registry username string "" no
fluent_bit_image Fluent-bit image string "philipssoftware/fluent-bit-out-hsdp:latest" no
hsdp_custom_field Post structured JSON message to HSDP Logging custom field string "true" no
hsdp_environment The HSDP environment of the deployment string "client-test" no
hsdp_product_key HSDP Logging product key string "" no
hsdp_region The HSDP region of the deployment string "us-east" no
hsdp_secret_key HSDP Logging secret key string "" no
hsdp_shared_key HSDP Logging shared key string "" no
instance_type The instance type to use string "t2.medium" no
name_postfix The postfix string to append to the hostname, prevents namespace clashes string "" no
private_key Private key for SSH access (should not have a passphrase) string "" no
timescaledb_image The TimescaleDB server image to use string "timescale/timescaledb:latest-pg12" no
user LDAP user to use for connections string n/a yes
user_groups User groups to assign to cluster list(string) n/a yes
volume_size The volume size to use in GB number 50 no

Outputs

Name Description
timescaledb_id Server ID of TimescaleDB
timescaledb_ip Private IP address of TimescaleDB server
timescaledb_password Password

Contact / Getting help

Please post your questions on the HSDP Slack #terraform channel

License

License is MIT

Requirements

Name Version
hsdp >= 0.30.0
ssh >= 2.1.0

Providers

Name Version
hsdp 0.42.1
random 3.5.1
ssh 2.6.0

Modules

No modules.

Resources

Name Type
hsdp_container_host.timescaledb resource
random_password.root resource
random_pet.deploy resource
ssh_resource.server resource
hsdp_config.cf data source
hsdp_config.gw data source
hsdp_config.logging data source

Inputs

Name Description Type Default Required
agent Use SSH agent for authentication bool false no
cartel_secret The Cartel secret to use for autoscaling string "" no
cartel_token The Cartel token to use for autoscaling string "" no
docker_password Docker registry password string "" no
docker_username Docker registry username string "" no
fluent_bit_image Fluent-bit image string "philipssoftware/fluent-bit-out-hsdp:latest" no
hsdp_custom_field Post structured JSON message to HSDP Logging custom field string "true" no
hsdp_environment The HSDP environment of the deployment string "client-test" no
hsdp_product_key HSDP Logging product key string "" no
hsdp_region The HSDP region of the deployment string "us-east" no
hsdp_secret_key HSDP Logging secret key string "" no
hsdp_shared_key HSDP Logging shared key string "" no
instance_type The instance type to use string "t2.medium" no
name_postfix The postfix string to append to the hostname, prevents namespace clashes string "" no
private_key Private key for SSH access (should not have a passphrase) string "" no
timescaledb_image The TimescaleDB server image to use string "timescale/timescaledb:latest-pg12" no
user LDAP user to use for connections string n/a yes
user_groups User groups to assign to cluster list(string) n/a yes
volume_size The volume size to use in GB number 50 no

Outputs

Name Description
timescaledb_id Server ID of TimescaleDB
timescaledb_ip Private IP address of TimescaleDB server
timescaledb_password Password