This repository is used to manage a container registry on scaleway using terraform.
module "my_registry" {
source = "scaleway-terraform-modules/registry/scaleway"
version = "0.0.1"
}
| Name |
Description |
Type |
Default |
Required |
| name |
Unique name of the namespace. |
string |
n/a |
yes |
| description |
Description of the namespace. |
string |
null |
no |
| is_public |
Whether the images stored in the namespace should be downloadable publicly (docker pull). |
bool |
false |
no |
| 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 |
| purge_dry_run |
Prevent deletion of tags & images. |
bool |
true |
no |
| purge_log_level |
Log Level of the purge function. Refer to the Go slog package documentation for accepted values |
number |
0 |
no |
| purge_preserve_tag_patterns |
List of regex patterns for tags to preserve. By default, preserves semantic versioning tags and latest tags. |
list(string) |
```[ "^latest((-.+)?)$", "^(0 |
[1-9]\d*)\.(0 |
| purge_retention_days |
Number of days to keep images before deletion. |
number |
30 |
no |
| purge_schedule |
Cron schedule for the cleanup function. Set to empty string to disable scheduled cleanup. |
string |
"0 0 * * *" |
no |
| purge_timeout |
Timeout for the cleanup function in seconds. |
number |
300 |
no |
| 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 |
Module is maintained with help from the community.
Mozilla Public License 2.0 Licensed. See LICENSE for full details.