terraform --help



  • Check for updates to the options: https://www.terraform.io/docs/commands/index.html

    $ terraform -help
    Usage: terraform [--version] [--help] <command> [args]
    
    The available commands for execution are listed below.
    The most common, useful commands are shown first, followed by
    less common or more advanced commands. If you're just getting
    started with Terraform, stick with the common commands. For the
    other commands, please read the help and docs before usage.
    
    Common commands:
        apply               Builds or changes infrastructure
        console             Interactive console for Terraform interpolations
        debug json2dot      Convert json graph log to dot
        destroy             Destroy Terraform-managed infrastructure
        env                 Workspace management
        env delete          Delete a workspace
        env list            List Workspaces
        env new             Create a new workspace
        env select          Select a workspace
        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 Terraform working directory
        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 Atlas to run
        refresh             Update local state file against real resources
        show                Inspect Terraform state or plan
        state list          List resources in the state
        state mv            Move an item in the state
        state pull          Pull current state and output to stdout
        state push          Update remote state from a local state file
        state rm            Remove an item from the state
        state show          Show a resource in the state
        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
        workspace delete    Delete a workspace
        workspace list      List Workspaces
        workspace new       Create a new workspace
        workspace select    Select a workspace
        workspace show      Show the name of the current workspace
    
    All other commands:
        debug               Debug output management (experimental)
        force-unlock        Manually unlock the terraform state
        state               Advanced state management
    

Log in to reply
 

© Lightnetics 2024