When running aws iot get-indexing-configuration, it shows support for filtering geo locations, which is also available in the AWS Console. The Terraform resource aws_iot_indexing_configuration does not support it.
Affected Resource(s) and/or Data Source(s)
aws_iot_indexing_configuration
Potential Terraform Configuration
resource "aws_iot_indexing_configuration" "example" {
thing_indexing_configuration {
thing_indexing_mode = "REGISTRY_AND_SHADOW"
thing_connectivity_indexing_mode = "STATUS"
device_defender_indexing_mode = "VIOLATIONS"
named_shadow_indexing_mode = "ON"
filter {
named_shadow_names = ["thing1shadow"]
geo_locations = [
{
"name": "shadow.name.thing1shadow.reported.coordinates",
"order": "LonLat"
}
]
}
custom_field {
name = "shadow.desired.power"
type = "Boolean"
}
custom_field {
name = "attributes.version"
type = "Number"
}
custom_field {
name = "shadow.name.thing1shadow.desired.DefaultDesired"
type = "String"
}
custom_field {
name = "deviceDefender.securityProfile1.NUMBER_VALUE_BEHAVIOR.lastViolationValue.number"
type = "Number"
}
}
}
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
Description
When running
aws iot get-indexing-configuration
, it shows support for filtering geo locations, which is also available in the AWS Console. The Terraform resourceaws_iot_indexing_configuration
does not support it.Affected Resource(s) and/or Data Source(s)
Potential Terraform Configuration
References
https://docs.aws.amazon.com/iot/latest/developerguide/location-indexing-geoquery.html#location-indexing-configuration
Would you like to implement a fix?
None