@tinystacks/terraform-resource-parser
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

@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.

  1. Sqs Queues (aws_sqs_queue)
  2. S3 Buckets (aws_s3_bucket)
  3. Elastic IPs (aws_vpc)
  4. Vpcs (aws_nat_gateway)
  5. Nat Gateways (aws_eip)
  6. Subnets (aws_subnet)
  7. Route Table Associations (aws_route_table_association)
  8. Routes (aws_route)
  9. Route Tables (aws_route_table)

Readme

Keywords

none

Package Sidebar

Install

npm i @tinystacks/terraform-resource-parser

Weekly Downloads

7

Version

0.0.2

License

ISC

Unpacked Size

80.8 kB

Total Files

22

Last publish

Collaborators

  • cal.cour
  • zsimjee