@tinystacks/terraform-resource-parser
A Terraform parser for a few key resources. Intended as a plugin for @tinystacks/precloud.
How To Use
By default, this parser plugin is included as a peer dependency of the precloud cli and is therefore always available, though it is deprioritized over any explicitly configured parsers.
To increase the priority of this parser, you can install this package as a dev dependency and add it to the top of the terraformParsers
array in your smoke test config.
npm i -D @tinystacks/terraform-resource-parser
{
// ...
"terraformParsers": [
"@tinystacks/terraform-resource-parser"
// ...other parsers
]
}
Supported Resources
This module will parse the following resources from the hashicorp/aws provider if they do not originate from a terraform module.
- Sqs Queues (aws_sqs_queue)
- S3 Buckets (aws_s3_bucket)
- Elastic IPs (aws_vpc)
- Vpcs (aws_nat_gateway)
- Nat Gateways (aws_eip)
- Subnets (aws_subnet)
- Route Table Associations (aws_route_table_association)
- Routes (aws_route)
- Route Tables (aws_route_table)