package
0.0.0-20220605204112-7bdeeebb3923
Repository: https://github.com/googleinterns/terraform-cost-estimation.git
Documentation: pkg.go.dev

# Functions

ExtractPlanStruct extracts tfjson.Plan struct from file in provided path if it is possible.
GetResources extracts all resources of ComputeInstance and ComputeDisk type and their before and after states from plan file.

# Constants

Possible actions in resource changes.
Possible actions in resource changes.
Possible actions in resource changes.
Possible actions in resource changes.
Possible actions in resource changes.
ComputeInstanceType and ComputeDiskType are the supported by this package types of ResourceChange and Resource.
ComputeInstanceType and ComputeDiskType are the supported by this package types of ResourceChange and Resource.

# Structs

ResourceInfo contains the information about Resource in json plan file, this struct is used to cast interface of before/after states to the certain Resource.
UsageType contains the information whether the certain istance is preemptible or not.