Resource nexus_repository_yum_group

Use this resource to create a group yum repository.

Example Usage

resource "nexus_repository_yum_hosted" "internal" {
  name = "internal"

  deploy_policy  = "STRICT"
  repodata_depth = 4

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

resource "nexus_repository_yum_group" "group" {
  name   = "yum-group"
  online = true

  group {
    member_names = [
      nexus_repository_yum_hosted.internal.name,
    ]
  }

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

Schema

Required

Optional

Read-Only

Nested Schema for group

Required:

Nested Schema for storage

Required:

Optional:

Nested Schema for yum_signing

Required:

Optional:

Import is supported using the following syntax:

# import using the name of repository
terraform import nexus_repository_yum_group.group yum-group