Skip to content

philips-labs/terraform-hsdp-rabbitmq-service

Repository files navigation

Terraform HSDP RabbitMQ service module

Provisions a HSDP RabbitMQ server instance, including a Prometheus exporter endpoint. This is for use with the Thanos for custom metrics collection.

Disclaimer

Important

This repository is managed as Philips Inner-source / Open-source. This repository is NOT endorsed or supported by HSSA&P or I&S Cloud Operations. You are expected to self-support or raise tickets on the Github project and NOT raise tickets in HSP ServiceNow.

Example

TODO

Requirements

Name Version
terraform >= 0.15.1
cloudfoundry >= 0.14.2
hsdp >= 0.17.0

Providers

Name Version
cloudfoundry >= 0.14.2
hsdp >= 0.17.0
random n/a

Modules

No modules.

Resources

Name Type
cloudfoundry_app.exporter resource
cloudfoundry_route.exporter resource
cloudfoundry_service_instance.rabbitmq resource
cloudfoundry_service_key.key resource
random_id.id resource
cloudfoundry_domain.apps_internal_domain data source
cloudfoundry_service.rabbitmq data source
hsdp_config.cf data source

Inputs

Name Description Type Default Required
cf_space_id Cloudfoundry space id to provision resources in string n/a yes
exporter_disk_quota Exporter disk quota number 1024 no
exporter_environment Additional onfiguration for the exporter map(any) {} no
exporter_image Image to use for RabbitMQ exporter string "kbudde/rabbitmq-exporter:main" no
exporter_memory Exporter memory settings number 128 no
name_postfix The postfix string to append to the space, hostname, etc. Prevents namespace clashes string "" no
plan Plan to use string "rabbitmq-dev-standalone" no

Outputs

Name Description
metrics_app_id The metrics app ID
metrics_host The exporter metrics internal hostname
metrics_port The exporter metrics internal port
service_id The service id

Contact / Getting help

Please post your questions on the HSDP Slack #terraform channel, or start a discussion

License

License is MIT