Skip to content

philips-labs/terraform-cloudfoundry-logproxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-cloudfoundry-logproxy

Module to deploy Logproxy

Requirements

Name Version
terraform >= 0.13.0
cloudfoundry >= 0.14.2
hsdp >= 0.17.0
random >= 2.2.1

Providers

Name Version
cloudfoundry 0.15.3
hsdp 0.36.0
random 3.3.2

Modules

No modules.

Resources

Name Type
cloudfoundry_app.logproxy resource
cloudfoundry_route.logproxy resource
cloudfoundry_user_provided_service.logdrain resource
random_id.id resource
random_password.token resource
cloudfoundry_domain.domain data source
cloudfoundry_domain.internal data source
hsdp_config.cf data source
hsdp_config.logging data source

Inputs

Name Description Type Default Required
app_name override the application name string "" no
cf_space_id The space ID to deploy components to string n/a yes
disk Amount of disk to allocate number 512 no
docker_password Docker registry password string "" no
docker_username Docker registry username string "" no
enable_debugging Enable debugging. bool false no
enable_ironio Enable iron logdrain endpoint bool false no
enable_syslog Enable syslog drain endpoint bool true no
environment Optional additional environment variables for Logproxy map(any) {} no
hsdp_environment The hsdp environment that the service identity belongs for service based authentication (recommended). When using service authentication, the signing base variables should not be provided string "client-test" no
hsdp_region The hsdp region that the service identity belongs for service based authentication (recommended). When using service authentication, the signing base variables should not be provided string "us-east" no
logingestor_url The HSDP Log ingestor endpoint. When empty auto-detect via hsdp_config string "" no
logproxy_image Docker image to use string "philipssoftware/logproxy:v1.7.9" no
memory Amount of memory to use number 64 no
name_postfix The postfix string to append to the space, hostname, etc. Prevents namespace clashes string "" no
product_key The HSDP logging product key string n/a yes
queue_type The queue type to use. Supported are 'channel' or 'rabbitmq' string "channel" no
secret_key The secret key API signing based authentication. When using signing authentication, the service base variables should not be provided. string "" no
service_id The IAM service identity id for service based authentication (recommended). When using service authentication, the signing base variables should not be provided string "" no
service_private_key The IAM service identity private key for service based authentication (recommended). When using service authentication, the signing base variables should not be provided string "" no
shared_key The shared key for API signing based authentication. When using signing authentication, the service base variables should not be provided. string "" no

Outputs

Name Description
logdrain_endpoint The logproxy logdrain endpoint
logdrain_service_id The uuid of the logdrain service. You can bind this to your app to enable logdraining
logproxy_app_id The logproxy app GUID

Contact / Getting help

Please post your questions on the HSDP Slack #terraform channel

License

License is MIT