# README
deploystack/terraform
This package contains code for analyzing and extracting information from terraform folders and coverting the information to important metadata for deploystack.
# Functions
Extract points to a path that includes Terraform files and extracts all of the information out of it for use with DeployStack Tools.
NewBlocks converts the results from a Terraform parse operation to Blocks.
NewGCPResources reads in a yaml file as a config.
NewModuleBlock converts a parsed Terraform Module to a Block.
NewRepos retrieves the list of repos from a ymal file.
NewResourceBlock converts a parsed Terraform Resource to a Block.
NewVariableBlock converts a parsed Terraform Variable to a Block.
# Structs
Block represents one of several kinds of Terraform constructs: resources, variables, module.
GCPResource is a Terraform resource that matches up with a GCP product.
TestConfig is the information needed to automate test creation.
# Type aliases
Blocks is a slice of type Block.
GCPResources is a collection of GCPResource.
List is a slice of strings that we add extra functionality to.
Repos is a slice of strings containing github urls.