Resource: aws_iot_thing

Creates and manages an AWS IoT Thing.

Example Usage

resource "aws_iot_thing" "example" {
  name = "example"

  attributes = {
    First = "examplevalue"
  }
}

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 IOT Things using the name. For example:

import {
  to = aws_iot_thing.example
  id = "example"
}

Using terraform import, import IOT Things using the name. For example:

% terraform import aws_iot_thing.example example