Resource nexus_repository_yum_hosted

Use this resource to create a hosted yum repository.

Example Usage

resource "nexus_repository_yum_hosted" "yum" {
  name = "yummy"
}

resource "nexus_repository_yum_hosted" "yum1" {
  deploy_policy  = "STRICT"
  name           = "yummy1"
  online         = true
  repodata_depth = 4

  cleanup {
    policy_names = ["policy"]
  }

  storage {
    blob_store_name                = "default"
    strict_content_type_validation = true
    write_policy                   = "ALLOW"
  }
}

Schema

Required

Optional

Read-Only

Nested Schema for storage

Required:

Optional:

Nested Schema for cleanup

Optional:

Nested Schema for component

Required:

Import is supported using the following syntax:

# import using the name of repository
terraform import nexus_repository_yum_hosted.yum yummy