Difference between revisions of "Terraform"

From wikieduonline
Jump to navigation Jump to search
(Created page with "== Common Terraform commands<ref>https://www.terraform.io/docs/commands/index.html</ref> == apply Builds or changes infrastructure console Inte...")
 
Line 1: Line 1:
 
== Common Terraform commands<ref>https://www.terraform.io/docs/commands/index.html</ref> ==
 
== Common Terraform commands<ref>https://www.terraform.io/docs/commands/index.html</ref> ==
 +
<pre>
 
     apply              Builds or changes infrastructure
 
     apply              Builds or changes infrastructure
 
     console            Interactive console for Terraform interpolations
 
     console            Interactive console for Terraform interpolations
Line 19: Line 20:
 
     version            Prints the Terraform version
 
     version            Prints the Terraform version
 
     workspace          Workspace management
 
     workspace          Workspace management
 +
</pre>

Revision as of 13:21, 9 December 2019

Common Terraform commands[1]

    apply              Builds or changes infrastructure
    console            Interactive console for Terraform interpolations
    destroy            Destroy Terraform-managed infrastructure
    fmt                Rewrites config files to canonical format
    get                Download and install modules for the configuration
    graph              Create a visual graph of Terraform resources
    import             Import existing infrastructure into Terraform
    init               Initialize a new or existing Terraform configuration
    output             Read an output from a state file
    plan               Generate and show an execution plan
    providers          Prints a tree of the providers used in the configuration
    push               Upload this Terraform module to Terraform Enterprise to run
    refresh            Update local state file against real resources
    show               Inspect Terraform state or plan
    taint              Manually mark a resource for recreation
    untaint            Manually unmark a resource as tainted
    validate           Validates the Terraform files
    version            Prints the Terraform version
    workspace          Workspace management

Advertising: