Skip to content

DynamoDB compatible server for Terraform S3 backend locking powered by Amazon S3

License

Notifications You must be signed in to change notification settings

kerraform/kerranamodb

Repository files navigation

Kerraform logo

KerranamoDB: DynamoDB compatible API for Terraform S3 state locking

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.

  • Access logs
  • Storage
    • Local disk
    • Amazon S3 (or S3 compatible object storage)
      • Tested S3 compatible object storage
  • Monitoring

Configuration

Theses are environment variable list that you can configure.

Variable Description Type Default
AUTH_ENABLE Enable authentication bool true
PORT Port to listen int 5000
NAME Used for trace name. string kerranamodb
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
CORS_ORIGIN Origin of the website. string
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)
LOCK_SERVICE_DISCOVERY_ENDPOINT Endpoint to call on service discovery. string
LOCK_SERVICE_DISCOVERY_NODE_COUNT Expected number of counts on service discovery int
LOCK_SERVICE_DISCOVERY_TIMEOUT Timeout for service discovery. int
LOCK_HOST_IP Server's host IP. Required if using service discovery. string
LOCK_NODES Comma separated static node endpoints. It can be IP or any URL. string
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

Author

License

References

About

DynamoDB compatible server for Terraform S3 backend locking powered by Amazon S3

Resources

License

Stars

Watchers

Forks

Packages

No packages published