Resource: aws_sagemaker_device

Provides a SageMaker Device resource.

Example Usage

Basic usage

resource "aws_sagemaker_device" "example" {
  device_fleet_name = aws_sagemaker_device_fleet.example.device_fleet_name

  device {
    device_name = "example"
  }
}

Argument Reference

This resource supports the following arguments:

Device

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 SageMaker Devices using the device-fleet-name/device-name. For example:

import {
  to = aws_sagemaker_device.example
  id = "my-fleet/my-device"
}

Using terraform import, import SageMaker Devices using the device-fleet-name/device-name. For example:

% terraform import aws_sagemaker_device.example my-fleet/my-device