terraform

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 19, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Resources []*Resource
	Modules   []*Module
	Variables []*Variable
	Locals    []*Local
}

Config represents the Terraform configuration.

func Parse

func Parse(directories, files []string) (Config, error)

type Local

type Local struct {
	Attributes map[string]any
}

type Module

type Module struct {
	Source     string
	Labels     []string
	Attributes map[string]any
}

Module represents a Terraform module.

type Resource

type Resource struct {
	Type       string
	Name       string
	Labels     []string
	Attributes map[string]any
}

Resource represents a Terraform resource.

type Variable added in v0.8.1

type Variable struct {
	Attributes map[string]any
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL