• HashiCorp Developer

  • HashiCorp Cloud Platform
  • Terraform
  • Packer
  • Consul
  • Vault
  • Boundary
  • Nomad
  • Waypoint
  • Vagrant
Terraform
  • Install
  • Tutorials
    • About the Docs
    • Configuration Language
    • Terraform CLI
    • Terraform Cloud
    • Terraform Enterprise
    • CDK for Terraform
    • Provider Use
    • Plugin Development
    • Registry Publishing
    • Integration Program
  • Registry(opens in new tab)
  • Try Cloud(opens in new tab)
  • Sign up
Terraform Home

Terraform CLI

Skip to main content
  • Terraform CLI
  • Basic CLI Features
    • Overview
    • Terraform Cloud Settings
    • Initializing and Migrating
    • Command Line Arguments

  • Terraform Internals

  • Resources

  • Tutorial Library
  • Certifications
  • Community Forum
    (opens in new tab)
  • Support
    (opens in new tab)
  • GitHub
    (opens in new tab)
  • Terraform Registry
    (opens in new tab)
  1. Developer
  2. Terraform
  3. Terraform CLI
  4. Using Terraform Cloud
  5. Command Line Arguments
  • Terraform
  • v1.2.x
  • v1.1 and earlier

ยปCommand Line Arguments

When your configuration includes a cloud block, commands that make local modifications to Terraform state and then push them back up to the remote workspace accept the following option to modify that behavior:

  • -ignore-remote-version - Override checking that the local and remote Terraform versions agree, making an operation proceed even when there is a mismatch.

    State-modification operations usually require using a local version of the Terraform CLI that is compatible with the Terraform version selected in the remote workspace settings. This prevents the local operation from creating a new state snapshot that the workspace's remote execution environment cannot decode.

    We recommend against using this option unless absolutely necessary. Overriding this check can result in a Terraform Cloud workspace that is no longer able to complete remote operations with the currently selected version of Terraform.

Edit this page on GitHub
Give Feedback(opens in new tab)
  • Certifications
  • System Status
  • Terms of Use
  • Security
  • Privacy
  • Trademark Policy
  • Trade Controls
  • Give Feedback(opens in new tab)