Skip to content

Self-hosted Terraform Registry for Modules & Providers

License

Notifications You must be signed in to change notification settings

kerraform/kegistry

Repository files navigation

Kerraform logo

Kegistry: Terraform Registry

Terraform Registry fulfills Terraform provider and module registry protocol

Test Release

Dependabot Badge GoDoc Badge Docker Badge Snyk Badge Fossa Badge

Note: This is not production ready, it's under development

Supported features

These are the list of the supported features.

Configuration

Theses are environment variable list that you can configure.

Variable Description Type Default
PORT Port to listen int 5000
NAME Used for trace name. string kegistry
BACKEND_TYPE Storage driver to use (supports local and s3) string (required)
BACKEND_ROOT_PATH Root path which this registry will store the providers and the modules. Currently, it only supports if backend type is local. string .
BACKEND_S3_ACCESS_KEY Access key of Amazon S3 string - (Required if BACKEND_TYPE is s3)
BACKEND_S3_BUCKET Amazon S3 Bucket name to store the resources string - (Required if BACKEND_TYPE is s3)
BACKEND_S3_ENDPOINT Endpoint of the Amazon S3 compatible object storage. Ignore if you are using Amazon S3 string
BACKEND_S3_SECRET_KEY Secret key of Amazon S3 string - (Required if BACKEND_TYPE is s3)
BACKEND_S3_USE_PATH_STYLE Generate URL on path based. Configure to true if you are using MinIO or other S3 compatible object storage which is path based instead of subdomain base. bool false
ENABLE_MODULE_REGISTRY Enables the module registry. bool false
ENABLE_PROVIDER_REGISTRY Enables the module registry. bool false
TRACE_ENABLE Enables the Trace. bool false
TRACE_TYPE Specify the trace backend (supports console and json). string console
TRACE_JAEGER_ENDPOINT Endpoint of the Jaeger (e.g. http://localhost:14268/api/traces). string (required)
LOG_FORMAT Format of the logs (supports json, console, color) string json
LOG_LEVEL Level of the logs (supports info, debug, warn, error) string info

Note that you need to create a GCS bucket before running this server with gcs driver otherwise the server will fail to init.

Author

License

References