A Terraform parser for the resources created by the tinystacks-terraform-modules library. Intended as a plugin for @tinystacks/precloud.
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-module-parser
{
// ...
"terraformParsers": [
"@tinystacks/terraform-module-parser"
// ...other parsers
]
}
This module will parse the following resources from the hashicorp/aws provider if they originate from a module published as part of tinystacks-terraform-modules.
- 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)
- Internet Gateways (aws_internet_gateway)