I have two projects. One has
terraform {
required_version = "~> 0.12.0"
backend "remote" {
hostname = "app.terraform.io"
organization = "MyOrg"
workspaces {
name = "project-a"
}
}
}
The other has
terraform {
required_version = "~> 0.12.0"
backend "remote" {
hostname = "app.terraform.io"
organization = "MyOrg"
workspaces {
name = "project-b"
}
}
}
When I run terraform plan
in project-a/
, I get a local run. When I run terraform plan
in project-b/
, it says
Running apply in the remote backend. Output will stream here. Pressing Ctrl-C
will cancel the remote apply if it's still pending. If the apply started it
will stop streaming the logs, but will not stop the apply running remotely.
Preparing the remote apply...
To view this run in a browser, visit:
https://app.terraform.io/app/Everlane/product-meta/runs/run-abcdef123456
Waiting for the plan to start...
Why do the projects behave differently?
I understand some of the benefits of remote invocation. But a significant downside is that it is really slow.
How can I run terraform plan
locally to test out my changes?