An open API service indexing awesome lists of open source software.

https://github.com/scaleway-terraform-modules/terraform-scaleway-registry

Manage Scaleway registries with Terraform.
https://github.com/scaleway-terraform-modules/terraform-scaleway-registry

docker-registry scaleway scaleway-namespace scaleway-registry terraform-module

Last synced: about 2 months ago
JSON representation

Manage Scaleway registries with Terraform.

Awesome Lists containing this project

README

        

# Terraform / Scaleway

## Purpose

This repository is used to manage a container registry on scaleway using terraform.

## Usage

- Setup the [scaleway provider](https://www.terraform.io/docs/providers/scaleway/index.html) in your tf file.
- Include this module in your tf file. Refer to [documentation](https://www.terraform.io/docs/modules/sources.html#generic-git-repository).

```hcl
module "my_registry" {
source = "scaleway-terraform-modules/registry/scaleway"
version = "0.0.1"

}
```

## Requirements

| Name | Version |
|------|---------|
| [terraform](#requirement_terraform) | >= 0.13 |
| [scaleway](#requirement_scaleway) | >= 2.0.0 |

## Resources

| Name | Type |
|------|------|
| [scaleway_registry_namespace.this](https://registry.terraform.io/providers/scaleway/scaleway/latest/docs/resources/registry_namespace) | resource |

## Inputs

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [name](#input_name) | Unique name of the namespace. | `string` | n/a | yes |
| [description](#input_description) | Description of the namespace. | `string` | `null` | no |
| [is_public](#input_is_public) | Whether the images stored in the namespace should be downloadable publicly (docker pull). | `bool` | `false` | no |
| [project_id](#input_project_id) | ID of the project the namespace is associated with. Ressource will be created in the project set at the provider level if null. | `string` | `null` | no |
| [region](#input_region) | Region in which the namespace should be created. Ressource will be created in the region set at the provider level if null. | `string` | `null` | no |

## Outputs

| Name | Description |
|------|-------------|
| [endpoint](#output_endpoint) | URL of the namespace. |
| [id](#output_id) | ID of the namespace. |

## Authors

Module is maintained with help from [the community](https://github.com/scaleway-terraform-modules/terraform-scaleway-registry/graphs/contributors).

## License

Mozilla Public License 2.0 Licensed. See [LICENSE](https://github.com/scaleway-terraform-modules/terraform-scaleway-registry/tree/master/LICENSE) for full details.