Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateFile ¶
GenerateFile generates a new file from the passed template and metadata
func GenerateFileWithLogs ¶
GenerateFileWithLogs generates a new file from the passed template and metadata The difference from GenerateFile function is to output logs
Types ¶
type AttributeSchema ¶ added in v0.6.0
type AttributeSchema struct {
Type interface{} `json:"type"`
Sensitive bool `json:"sensitive"`
}
type BlockSchema ¶ added in v0.6.0
type BlockSchema struct {
Attributes map[string]AttributeSchema `json:"attributes"`
BlockTypes map[string]ResourceSchema `json:"block_types"`
}
type ProviderSchema ¶ added in v0.6.0
type ProviderSchema struct {
ResourceSchemas map[string]ResourceSchema `json:"resource_schemas"`
}
func LoadProviderSchema ¶ added in v0.6.0
func LoadProviderSchema(path string) ProviderSchema
type ProviderSchemas ¶ added in v0.6.0
type ProviderSchemas struct {
AWS ProviderSchema `json:"registry.terraform.io/hashicorp/aws"`
}
type ResourceSchema ¶ added in v0.6.0
type ResourceSchema struct {
Block BlockSchema `json:"block"`
}
type Schema ¶ added in v0.6.0
type Schema struct {
ProviderSchemas ProviderSchemas `json:"provider_schemas"`
}
Click to show internal directories.
Click to hide internal directories.