Terraform cli

  • init : Initialize a new or existing Terraform configuration
  • validate : Validates the Terraform files
  • plan : Generate and show an execution plan
  • fmt : Rewrites config files to canonical format
  • apply : Builds or changes infrastructure
  • graph : Create a visual graph of Terraform resources
  • output : Read an output from a state file
  • destroy : Destroy Terraform-managed infrastructure
  • -target <OBJECT>.<NAME> : afecta solo ese objeto.
  • 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
  • debug : Debug output management (experimental)
  • force-unlock : Manually unlock the terraform state
  • state : Advanced state management
  • terraform --install-autocomplete : bash/zsh
  • terraform --uninstall-autocomplete
  • tech/terraform/cli.txt
  • Darrera modificació: 03/04/2020 02:52
  • per mate