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

Command terraform

Package Files

checkpoint.go commands.go help.go main.go plugins.go provider_source.go signal_unix.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/cos
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/kubernetes
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-salt-masterless
builtin/providers/terraform
builtin/providers/test
builtin/provisioners/file
builtin/provisioners/local-exec
builtin/provisioners/puppet
builtin/provisioners/remote-exec
command
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
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/hcl2shim
dag
e2e
experimentsPackage experiments contains the models and logic for opt-in experiments that can be activated for a particular Terraform module.
helper/acctestPackage acctest contains for Terraform Acceptance Tests
helper/slowmessage
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
instances
internal/copy
internal/copydir
internal/depsfilePackage depsfile contains the logic for reading and writing Terraform's dependency lock and development override configuration files.
internal/didyoumean
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/getprovidersPackage getproviders is the lowest-level provider automatic installation functionality.
internal/grpcwrap
internal/helper/wrappedreadlinewrappedreadline is a package that has helpers for interacting with readline from a panicwrap executable.
internal/helper/wrappedstreamsPackage wrappedstreams provides access to the standard OS streams (stdin, stdout, stderr) even if wrapped under panicwrap.
internal/initwdPackage initwd contains various helper functions used by the "terraform init" command to initialize a working directory.
internal/legacy/helper/pluginPackage plugin contains types and functions to help Terraform plugins implement the plugin rpc interface.
internal/legacy/helper/schemaschema is a high-level framework for easily writing new providers for Terraform.
internal/legacy/terraform
internal/logging
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/providercachePackage providercache contains the logic for auto-installing providers from packages obtained elsewhere, and for managing the local directories that serve as global or single-configuration caches of those auto-installed providers.
internal/provider-simplesimple provider a minimal provider implementation for testing
internal/provider-simple/main
internal/replacefilePackage replacefile is a small helper package focused directly at the problem of atomically "renaming" one file over another one.
internal/terminalPackage terminal encapsulates some platform-specific logic for detecting if we're running in a terminal and, if so, properly configuring that terminal to meet the assumptions that the rest of Terraform makes.
internal/tfplugin5
internal/typeexprPackage typeexpr is a fork of github.com/hashicorp/hcl/v2/ext/typeexpr which has additional experimental support for optional attributes.
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.
statesPackage states contains the types that are used to represent Terraform states.
states/remote
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.
tools/loggraphdiff
tools/terraform-bundleterraform-bundle is a tool to create "bundle archives" that contain both a particular version of Terraform and a set of providers for use with it.
tools/terraform-bundle/e2etestterraform bundle e2e tests
vendor/github.com/hashicorp/go-cleanhttpPackage cleanhttp offers convenience utilities for acquiring "clean" http.Transport and http.Client structs.
vendor/github.com/hashicorp/go-safetemp
versionThe version package provides a location to set the release versions for all packages to consume, without creating import cycles.

Package main imports 38 packages (graph). Updated 2021-01-22. Refresh now. Tools for package owners.