Documentation
¶
Overview ¶
Package gcloudtf handles parsing Terraform files to extract structured information out of it, to support a few tools to speed up the DeployStack authoring process
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block struct { Name string Text string Kind string Type string Attr map[string]string // contains filtered or unexported fields }
Block represents one of several kinds of Terraform constructs: resources, variables, module
func NewModuleBlock ¶
func NewModuleBlock(t *tfconfig.ModuleCall) (Block, error)
NewModuleBlock converts a parsed Terraform Module to a Block
func NewResourceBlock ¶
NewResourceBlock converts a parsed Terraform Resource to a Block
Click to show internal directories.
Click to hide internal directories.