Implementation of the Terraform Module Registry
- A database
- PostgreSQL is recommended
- Docker
Simply deploy the newer version of tf-registry.
Since database migrations are automatically run on startup it is recommended to upgrade one version at a time.
The API has a fully documented swagger spec. Simply visit /swagger/ui on your registry installation.
- Docker and Docker Compose
- Python 3.6+
- Pipenv https://pipenv.readthedocs.io/en/latest/
- Terraform https://www.terraform.io/
- make
- Run
make depsto setup the python environment - Run
make s3- This will spin up a Minio S3 docker container to store artifacts
- Run
make local- This will launch the python application with an SQLite database
- Navigate to
http://127.0.0.1:8080/swagger/ui - Before running terraform set the
TERRAFORM_CONFIGenvironment variable tohack/.terraformrcexport TERRAFORM_CONFIG=$(pwd)/hack/.terraformrc
- Stop the python application
- Run
make clean
- Storage
Currently there is no way to upload/download modules
- Authentication and Authorization
- Use OpenID OAuth
- Testing and CI
- testing all the things is very important
- Docker Image and Quick Start
- create a docker image and quickstart for a fast local demo
- CLI
- Terraform Provider