Container Registry

Creates and manages IonosCloud Container Registry.

Manages an Container Registry on IonosCloud.

Example Usage

resource "ionoscloud_container_registry" "example" {
  garbage_collection_schedule {
    days    = ["Monday", "Tuesday"]
    time    = "05:19:00+00:00"
  }
  location  = "de/fra"
  name      = "container-registry-example"
}

Argument Reference

The following arguments are supported:

  • name - The name of the container registry. Immutable, update forces re-creation of the resource.

  • garbage_collection_schedule - (Optional)[Map]

    • time - (Required)[string]

    • days - (Required)[list] Elements of list must have one of the values: Saturday, Sunday, Monday, Tuesday, Wednesday, Thursday, Friday

  • location - (Required)[string] Immutable, update forces re-creation of the resource.

  • features - (Optional)[Map]

    • vulnerability_scanning - (Optional)[bool] Enables or disables the Vulnerability Scanning feature for the Container Registry. To disable this feature, set the attribute to false when creating the CR resource.

⚠ WARNING Container Registry Vulnerability Scanning is a paid feature which is enabled by default, and cannot be turned off after activation. To disable this feature for a Container Registry, ensure vulnerability_scanning is set to false on resource creation.

Import

Resource Container Registry can be imported using the resource id, e.g.

terraform import ionoscloud_container_registry.mycr {container_registry uuid}

Last updated