Skip to content

Latest commit

 

History

History
53 lines (40 loc) · 1.56 KB

File metadata and controls

53 lines (40 loc) · 1.56 KB
page_title remscontent_resource Resource - remscontent
subcategory
description Manages a REMS resource, which represents a dataset or service that can be applied for via catalogue items.

remscontent_resource (Resource)

Manages a REMS resource, which represents a dataset or service that can be applied for via catalogue items.

Example Usage

terraform {
  required_providers {
    remscontent = {
      source = "registry.terraform.io/umccr/remscontent"
    }
  }
}

data "remscontent_license" "example_attachment_license" {
  title = "Test Attachment License 2"
}

resource "remscontent_resource" "resource_1" {
  organization_id = "Collaborative Centre for Genomic Cancer Medicine"
  resource_ext_id = "uri-resource-1"
  licenses        = [data.remscontent_license.example_attachment_license.id]
  archived        = false
  enabled         = true
}

Schema

Required

  • organization_id (String) The ID of the organization this resource belongs to.
  • resource_ext_id (String) External resource identifier (e.g. a URI or dataset ID). Must be unique within the organization.

Optional

  • archived (Boolean) Whether this resource is archived. Defaults to false.
  • enabled (Boolean) Whether this resource is active. Defaults to true.
  • licenses (List of Number) List of license IDs that applicants must accept when applying for this resource.

Read-Only

  • id (Number) Resource internal identifier assigned by REMS.