generated from terraform-linters/tflint-ruleset-template
-
Notifications
You must be signed in to change notification settings - Fork 74
/
Copy pathiot.hcl
59 lines (51 loc) · 1.49 KB
/
iot.hcl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
import = "aws-sdk-go/models/apis/iot/2015-05-28/api-2.json"
mapping "aws_iot_certificate" {
active = SetAsActive
csr = CertificateSigningRequest
}
mapping "aws_iot_policy" {
name = PolicyName
policy = PolicyDocument
}
mapping "aws_iot_policy_attachment" {
policy = PolicyName
target = CertificateArn
}
mapping "aws_iot_topic_rule" {
name = RuleName
description = Description
enabled = IsDisabled
sql = SQL
sql_version = AwsIotSqlVersion
cloudwatch_alarm = CloudwatchAlarmAction
cloudwatch_metric = CloudwatchMetricAction
dynamodb = DynamoDBAction
elasticsearch = ElasticsearchAction
firehose = FirehoseAction
kinesis = KinesisAction
lambda = LambdaAction
republish = RepublishAction
s3 = S3Action
sns = SnsAction
sqs = SqsAction
}
mapping "aws_iot_thing" {
name = ThingName
attributes = Attributes
thing_type_name = ThingTypeName
}
mapping "aws_iot_thing_principal_attachment" {
principal = CertificateArn
thing = ThingName
}
mapping "aws_iot_thing_type" {
name = ThingTypeName
// description = any // ThingTypeDescription
deprecated = UndoDeprecate
// searchable_attributes = SearchableAttributes
}
mapping "aws_iot_role_alias" {
alias = RoleAlias
role_arn = RoleArn
credential_duration = CredentialDurationSeconds
}