terraform: github.com/hashicorp/terraform Files | Directories

Command terraform

Package Files

checkpoint.go commands.go config.go help.go main.go panic.go plugins.go signal_unix.go synchronized_writers.go version.go

Directories

PathSynopsis
addrsPackage addrs contains types that represent "addresses", which are references to specific objects within a Terraform configuration or state.
backendPackage backend provides interfaces that the CLI uses to interact with Terraform.
backend/atlas
backend/initPackage init contains the list of backends that can be initialized and basic helper functions for initializing those backends.
backend/local
backend/remote
backend/remote-state/artifactory
backend/remote-state/azure
backend/remote-state/consul
backend/remote-state/etcdv2
backend/remote-state/etcdv3
backend/remote-state/gcsPackage gcs implements remote storage of state on Google Cloud Storage (GCS).
backend/remote-state/http
backend/remote-state/inmem
backend/remote-state/manta
backend/remote-state/oss
backend/remote-state/pg
backend/remote-state/s3
backend/remote-state/swift
builtin/bins/provider-test
builtin/bins/provisioner-chef
builtin/bins/provisioner-file
builtin/bins/provisioner-habitat
builtin/bins/provisioner-local-exec
builtin/bins/provisioner-puppet
builtin/bins/provisioner-remote-exec
builtin/bins/provisioner-salt-masterless
builtin/providers/terraform
builtin/providers/test
builtin/provisioners/chef
builtin/provisioners/file
builtin/provisioners/habitat
builtin/provisioners/local-exec
builtin/provisioners/puppet
builtin/provisioners/puppet/bolt
builtin/provisioners/remote-exec
builtin/provisioners/salt-masterless
commandThis file is automatically generated by scripts/generate-plugins.go -- Do not edit!
command/cliconfigPackage cliconfig has the types representing and the logic to load CLI-level configuration settings.
command/clistatePackage state exposes common helpers for working with state from the CLI.
command/e2etestPackage e2etest contains a small number of tests that run against a real Terraform binary, compiled on the fly at the start of the test run.
command/formatPackage format contains helpers for formatting various Terraform structures for human-readabout output.
command/jsonconfigPackage jsonconfig implements methods for outputting a configuration snapshot in machine-readable json format
command/jsonplanPackage jsonplan implements methods for outputting a plan in a machine-readable json format
command/jsonproviderPackage jsonprovider contains types and functions to marshal terraform provider schemas into a json formatted output.
command/jsonstatePackage jsonstate implements methods for outputting a state in a machine-readable json format
command/webbrowser
communicator
communicator/remote
communicator/shared
communicator/ssh
communicator/winrm
configThe config package is responsible for loading and validating the configuration.
configsPackage configs contains types that represent Terraform configurations and the different elements thereof.
configs/configloadPackage configload knows how to install modules into the .terraform/modules directory and to load modules from those installed locations.
configs/configschemaPackage configschema contains types for describing the expected structure of a configuration block whose shape is not known until runtime.
configs/configupgradePackage configupgrade upgrades configurations targeting our legacy configuration loader (in package "config") to be compatible with and idiomatic for the newer configuration loader (in package "configs").
configs/hcl2shim
dag
digraph
e2e
flatmap
helper/acctestPackage acctest contains for Terraform Acceptance Tests
helper/config
helper/copy
helper/customdiffPackage customdiff provides a set of reusable and composable functions to enable more "declarative" use of the CustomizeDiff mechanism available for resources in package helper/schema.
helper/didyoumean
helper/encryption
helper/experimentexperiment package contains helper functions for tracking experimental features throughout Terraform.
helper/hashcode
helper/hilmapstructure
helper/logging
helper/mutexkv
helper/pathorcontentsHelpers for dealing with file paths and their contents
helper/pluginPackage plugin contains types and functions to help Terraform plugins implement the plugin rpc interface.
helper/resource
helper/schemaschema is a high-level framework for easily writing new providers for Terraform.
helper/shadow
helper/signalwrapperPackage signalwrapper is used to run functions that are sensitive to signals that may be received from outside the process.
helper/slowmessage
helper/structure
helper/validation
helper/variablesPackage variables provides functions and types for working with Terraform variables provided as input.
helper/wrappedreadlinewrappedreadline is a package that has helpers for interacting with readline from a panicwrap executable.
helper/wrappedstreamsPackage wrappedstreams provides access to the standard OS streams (stdin, stdout, stderr) even if wrapped under panicwrap.
httpclient
internal/earlyconfigPackage earlyconfig is a specialized alternative to the top-level "configs" package that does only shallow processing of configuration and is therefore able to be much more liberal than the full config loader in what it accepts.
internal/initwdPackage initwd contains various helper functions used by the "terraform init" command to initialize a working directory.
internal/modsdirPackage modsdir is an internal package containing the model types used to represent the manifest of modules in a local modules cache directory.
internal/tfplugin5
langPackage lang deals with the runtime aspects of Terraform's configuration language, with concerns such as expression evaluation.
lang/blocktoattrPackage blocktoattr includes some helper functions that can perform preprocessing on a HCL body where a configschema.Block schema is available in order to allow list and set attributes defined in the schema to be optionally written by the user as block syntax.
lang/funcs
moduledepsPackage moduledeps contains types that can be used to describe the providers required for all of the modules in a module tree.
plansPackage plans contains the types that are used to represent Terraform plans.
plans/internal/planprotoPackage planproto is home to the Go stubs generated from the tfplan protobuf schema.
plans/objchangePackage objchange deals with the business logic of taking a prior state value and a config value and producing a proposed new merged value, along with other related rules in this domain.
plans/planfilePackage planfile deals with the file format used to serialize plans to disk and then deserialize them back into memory later.
plugin
plugin/convert
plugin/discovery
plugin/mock_protoPackage mock_tfplugin5 is a generated GoMock package.
providersPackage providers contains the interface and primary types required to implement a Terraform resource provider.
provisionersPackage provisioners contains the interface and primary types to implement a Terraform resource provisioner.
registry
registry/regsrcPackage regsrc provides helpers for working with source strings that identify resources within a Terraform registry.
registry/response
registry/test
replPackage repl provides the structs and functions necessary to run REPL for Terraform.
state
state/remote
statesPackage states contains the types that are used to represent Terraform states.
states/statefilePackage statefile deals with the file format used to serialize states for persistent storage and then deserialize them into memory again later.
states/statemgrPackage statemgr defines the interfaces and some supporting functionality for "state managers", which are components responsible for writing state to some persistent storage and then later retrieving it.
terraform
tfdiagsPackage tfdiags is a utility package for representing errors and warnings in a manner that allows us to produce good messages for the user.
vendor/github.com/aws/aws-sdk-go/awsPackage aws provides the core SDK's utilities and shared types.
vendor/github.com/aws/aws-sdk-go/aws/arnPackage arn provides a parser for interacting with Amazon Resource Names.
vendor/github.com/aws/aws-sdk-go/aws/awserrPackage awserr represents API error interface accessors for the SDK.
vendor/github.com/aws/aws-sdk-go/aws/awsutil
vendor/github.com/aws/aws-sdk-go/aws/client
vendor/github.com/aws/aws-sdk-go/aws/client/metadata
vendor/github.com/aws/aws-sdk-go/aws/corehandlers
vendor/github.com/aws/aws-sdk-go/aws/credentialsPackage credentials provides credential retrieval and management
vendor/github.com/aws/aws-sdk-go/aws/credentials/ec2rolecreds
vendor/github.com/aws/aws-sdk-go/aws/credentials/endpointcredsPackage endpointcreds provides support for retrieving credentials from an arbitrary HTTP endpoint.
vendor/github.com/aws/aws-sdk-go/aws/credentials/processcredsPackage processcreds is a credential Provider to retrieve `credential_process` credentials.
vendor/github.com/aws/aws-sdk-go/aws/credentials/stscredsPackage stscreds are credential Providers to retrieve STS AWS credentials.
vendor/github.com/aws/aws-sdk-go/aws/crr
vendor/github.com/aws/aws-sdk-go/aws/csmPackage csm provides the Client Side Monitoring (CSM) client which enables sending metrics via UDP connection to the CSM agent.
vendor/github.com/aws/aws-sdk-go/aws/defaultsPackage defaults is a collection of helpers to retrieve the SDK's default configuration and handlers.
vendor/github.com/aws/aws-sdk-go/aws/ec2metadataPackage ec2metadata provides the client for making API calls to the EC2 Metadata service.
vendor/github.com/aws/aws-sdk-go/aws/endpointsPackage endpoints provides the types and functionality for defining regions and endpoints, as well as querying those definitions.
vendor/github.com/aws/aws-sdk-go/aws/request
vendor/github.com/aws/aws-sdk-go/aws/sessionPackage session provides configuration for the SDK's service clients.
vendor/github.com/hashicorp/aws-sdk-go-base
vendor/github.com/hashicorp/errwrapPackage errwrap implements methods to formalize error wrapping in Go.
vendor/github.com/hashicorp/go-checkpoint
vendor/github.com/hashicorp/go-cleanhttpPackage cleanhttp offers convenience utilities for acquiring "clean" http.Transport and http.Client structs.
vendor/github.com/hashicorp/go-gettergetter is a package for downloading files or directories from a variety of protocols.
vendor/github.com/hashicorp/go-hclog
vendor/github.com/hashicorp/go-multierror
vendor/github.com/hashicorp/go-pluginThe plugin package exposes functions and helpers for communicating to plugins which are implemented as standalone binary applications.
vendor/github.com/hashicorp/go-retryablehttpThe retryablehttp package provides a familiar HTTP client interface with automatic retries and exponential backoff.
vendor/github.com/hashicorp/go-rootcertsPackage rootcerts contains functions to aid in loading CA certificates for TLS connections.
vendor/github.com/hashicorp/go-safetemp
vendor/github.com/hashicorp/go-slug
vendor/github.com/hashicorp/go-tfe
vendor/github.com/hashicorp/go-uuid
vendor/github.com/hashicorp/go-version
vendor/github.com/hashicorp/hclPackage hcl decodes HCL into usable Go structures.
vendor/github.com/hashicorp/hcl/v2Package hcl contains the main modelling types and general utility functions for HCL.
vendor/github.com/hashicorp/hcl/v2/gohclPackage gohcl allows decoding HCL configurations into Go data structures.
vendor/github.com/hashicorp/hcl/v2/hcldecPackage hcldec provides a higher-level API for unpacking the content of HCL bodies, implemented in terms of the low-level "Content" API exposed by the bodies themselves.
vendor/github.com/hashicorp/hcl/v2/hcledPackage hcled provides functionality intended to help an application that embeds HCL to deliver relevant information to a text editor or IDE for navigating around and analyzing configuration files.
vendor/github.com/hashicorp/hcl/v2/hclparsePackage hclparse has the main API entry point for parsing both HCL native syntax and HCL JSON.
vendor/github.com/hashicorp/hcl/v2/hclsyntaxPackage hclsyntax contains the parser, AST, etc for HCL's native language, as opposed to the JSON variant.
vendor/github.com/hashicorp/hcl/v2/hcltestPackage hcltest contains utilities that aim to make it more convenient to write tests for code that interacts with the HCL API.
vendor/github.com/hashicorp/hcl/v2/hclwritePackage hclwrite deals with the problem of generating HCL configuration and of making specific surgical changes to existing HCL configurations.
vendor/github.com/hashicorp/hcl/v2/jsonPackage json is the JSON parser for HCL.
vendor/github.com/hashicorp/hil
vendor/github.com/hashicorp/hil/ast
vendor/github.com/hashicorp/hil/parser
vendor/github.com/hashicorp/hil/scanner
vendor/github.com/hashicorp/logutilsPackage logutils augments the standard log package with levels.
vendor/github.com/hashicorp/terraform-svchostPackage svchost deals with the representations of the so-called "friendly hostnames" that we use to represent systems that provide Terraform-native remote services, such as module registry, remote operations, etc.
vendor/github.com/hashicorp/terraform-svchost/authPackage auth contains types and functions to manage authentication credentials for service hosts.
vendor/github.com/hashicorp/terraform-svchost/discoPackage disco handles Terraform's remote service discovery protocol.
vendor/github.com/hashicorp/yamux
versionThe version package provides a location to set the release versions for all packages to consume, without creating import cycles.

Package main imports 34 packages (graph). Updated 2019-12-06. Refresh now. Tools for package owners.