Resource: aws_dataexchange_data_set

Provides a resource to manage AWS Data Exchange DataSets.

Example Usage

resource "aws_dataexchange_data_set" "example" {
  asset_type  = "S3_SNAPSHOT"
  description = "example"
  name        = "example"
}

Argument Reference

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Import

In Terraform v1.5.0 and later, use an import block to import DataExchange DataSets using their ARN. For example:

import {
  to = aws_dataexchange_data_set.example
  id = "arn:aws:dataexchange:us-west-2:123456789012:data-sets/4fa784c7-ccb4-4dbf-ba4f-02198320daa1"
}

Using terraform import, import DataExchange DataSets using their ARN. For example:

% terraform import aws_dataexchange_data_set.example arn:aws:dataexchange:us-west-2:123456789012:data-sets/4fa784c7-ccb4-4dbf-ba4f-02198320daa1