tf-registry
apparentlymart/tf-registry/aws
Terraform module for creating a simple private Terraform registry in AWS with DynamoDB
Terraform Private Registry for AWS This Terraform module establishes a private registry for Terraform, allowing you to publish your own modules in a location you control independent of Terraform's public registry at registry.terraform.io. Terraform module addresses can include an optional hostname part which allows them to be downloaded from services other than the public registry: ``hcl module "awesomeapp" { source = "tf.example.com/awesomecorp/awesomeapp/aws" } ` The module in _this_ repository provides the API endpoints necessary to provide such a module source hostname. Terraform's documented registry HTTP API is implemented via Amazon API Gateway relaying requests to a DynamoDB table that contains a simple index of modules. The module packages themselves can be stored at any non-regis
| Name | Type | Description | Default |
|---|---|---|---|
| friendly_hostname | any | Configures a "friendly hostname" that will be used to reference objects in this | required |
| lambda_authorizer | any | Configures a custom authorizer to use to control access to the registry API with | required |
| name_prefix | any | A name to use as the prefix for the created API Gateway REST API, DynamoDB table | "TerraformRegistry" |
services — A service discovery configuration map for the deployed services. A JSON-serialized version of this sdns_alias — If the friendly_hostname input variable is set, this exports the hostname and Route53 zone id that srest_api_id — The id of the API Gateway REST API managed by this module.rest_api_stage_name — The id of the API Gateway deployment stage managed by this module.