hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.82k stars 9.17k forks source link

Missing timestream action in aws_iot_topic_rule #19904

Closed joeypiccola closed 2 years ago

joeypiccola commented 3 years ago

Community Note

Description

The AWS API lists a timestream action as part of the IoT Topic rule.

The current AWS provider does not list this action (see docs).

New or Affected Resource(s)

Potential Terraform Configuration

resource "aws_iot_topic_rule" "topic_rule" {
  # Regular iot_topic_rule config

  timestream {
    database_name = aws_timestreamwrite_database.example.name
    table_name    = element(split(":",aws_timestreamwrite_table.example.id), 0)
    role_arn      = aws_iam_role.iot_core_rule_xxx.arn
    dimensions    = # not sure how to handle this. maybe an array of kv pairs?
  }
}

References

github-actions[bot] commented 2 years ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.