tf-registry

apparentlymart/tf-registry/aws

Terraform Module HCL AWS

Terraform module for creating a simple private Terraform registry in AWS with DynamoDB

Install
module "tf-registry" {
source = "apparentlymart/tf-registry/aws"
version = "0.0.1"
}
⭐ Source on GitHub 📦 Registry page
README

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

Inputs (3)
NameTypeDescriptionDefault
friendly_hostnameanyConfigures a "friendly hostname" that will be used to reference objects in this required
lambda_authorizeranyConfigures a custom authorizer to use to control access to the registry API with required
name_prefixanyA name to use as the prefix for the created API Gateway REST API, DynamoDB table"TerraformRegistry"
Outputs (4)
services — A service discovery configuration map for the deployed services. A JSON-serialized version of this s
dns_alias — If the friendly_hostname input variable is set, this exports the hostname and Route53 zone id that s
rest_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.
Resources (8)
aws_api_gateway_authorizeraws_api_gateway_base_path_mappingaws_api_gateway_deploymentaws_api_gateway_domain_nameaws_api_gateway_resourceaws_api_gateway_rest_apiaws_iam_roleaws_iam_role_policy
Details
FrameworkTerraform Module
LanguageHCL
Version0.0.1
Cloud AWS
★ Stars114
Forks22
Total downloads7.1k
Inputs3
Outputs4
Resources8
Submodules3
LicenseMIT
Namespaceapparentlymart
Updated