Resource: aws_iot_domain_configuration

Creates and manages an AWS IoT domain configuration.

Example Usage

resource "aws_iot_domain_configuration" "iot" {
  name         = "iot-"
  domain_name  = "iot.example.com"
  service_type = "DATA"

  server_certificate_arns = [
    aws_acm_certificate.cert.arn
  ]
}

Argument Reference

authorizer_config Block

The authorizer_config configuration block supports the following arguments:

tls_config Block

The tls_config configuration block supports the following arguments:

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 domain configurations using the name. For example:

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

Using terraform import, import domain configurations using the name. For example:

% terraform import aws_iot_domain_configuration.example example