Can't parse a resource?
ahonnecke opened this issue · 1 comments
ahonnecke commented
Library does not seem to parse the following (valid tf):
ddb.tf
resource "aws_dynamodb_table" "intersection_health_snapshots" {
name = "IntersectionHealthSnapshots"
billing_mode = "PAY_PER_REQUEST"
hash_key = "intersectionId"
range_key = "createdAt"
attribute {
name = "intersectionId"
type = "N"
}
attribute {
name = "createdAt"
type = "S"
}
ttl {
attribute_name = "ttl"
enabled = true
}
point_in_time_recovery {
enabled = true
}
stream_enabled = true
stream_view_type = "NEW_AND_OLD_IMAGES"
server_side_encryption {
enabled = true
}
}
ahonnecke commented
I see now that it is because I had import json
in the file as well.
Is there a way to call the library directly, such that I can have the json module imported?