Skip to content

Individual resource data sources needed #256

@tomzepf-oracle-zz

Description

@tomzepf-oracle-zz

Terraform Version

v0.10.5

OCI Provider Version

v2.0.0

Description:

In addition to filter functionality #182, single instance data sources are also needed.

In addition to support for lists of resources like:

data "oci_identity_groups" "all" {
  compartment_id = "${var.compartment_ocid}"
}

there should be something for individual resources like:

data "oci_identity_group" "mygroup" {
  compartment_id = "${var.compartment_ocid}"
  group_id  = "ocid1.group.oc1..."
}

There appears to be very limited (no?) support for data sources returning anything but lists of items, and terraform is really horrible at dealing with lists of maps.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions