Skip to main content

Using private registry

note

Currently we are using terraform free https://cloud.hashicorp.com/products/terraform/pricing. We will look into investing into terraform paid version in the future.

Terraform Cloud supports private registry. They operate similarly to Terraform's public registry, with the exception that they let users to use modules privately.

To get access to the terraform private registry, you will require a token.

1. Request access to the authorization token

Please contact Ashpak.Mulani to get your access token. Or post your request in our Slack channel.

2. After getting the token

Add the token variable to Terraform CLI configuration file.

credentials "app.terraform.io" {
token = "<authorization token>"
}

3. Use the private module

You can use the private module just like you would use a public module.

module "example" {
source = "app.terraform.io/ecsgroup/example/aws"
version = "1.0.2"
lambda_source = "<<local path\lambdapackage.zip>>"
}