Manages an AWS IoT Billing Group.
resource "aws_iot_billing_group" "example" {
name = "example"
properties {
description = "This is my billing group"
}
tags = {
terraform = "true"
}
}
name
- (Required) The name of the Billing Group.properties
- (Optional) The Billing Group properties. Defined below.tags
- (Optional) Key-value mapping of resource tagsdescription
- (Optional) A description of the Billing Group.This resource exports the following attributes in addition to the arguments above:
arn
- The ARN of the Billing Group.id
- The Billing Group ID.version
- The current version of the Billing Group record in the registry.In Terraform v1.5.0 and later, use an import
block to import IoT Billing Groups using the name. For example:
import {
to = aws_iot_billing_group.example
id = "example"
}
Using terraform import
, import IoT Billing Groups using the name. For example:
% terraform import aws_iot_billing_group.example example