GO-2023-2055 : Terraform allows arbitrary file write during the `init` operation in github.com/hashicorp/terraform
Discover Packages
github.com/hashicorp/terraform
internal
command
jsonprovider
package
Version:
v1.0.11
Opens a new window with list of versions in this module.
Published: Nov 10, 2021
License: MPL-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation Source Files Overview Index Constants Variables Functions Types Marshal(s) type Provider
Documentation
¶
Package jsonprovider contains types and functions to marshal terraform
provider schemas into a json formatted output.
FormatVersion represents the version of the json format and will be
incremented for any change to this format that requires changes to a
consuming parser.
type Provider struct {
Provider *schema `json:"provider,omitempty"`
ResourceSchemas map[string ]*schema `json:"resource_schemas,omitempty"`
DataSourceSchemas map[string ]*schema `json:"data_source_schemas,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.