terraform/backend/remote
Martin Atkins 8e1615a802 backend/remote: Handle cost estimation skipped due to targeting
The remote server might choose to skip running cost estimation for a
targeted plan, in which case we'll show a note about it in the UI and then
move on, rather than returning an "invalid status" error.

This new status isn't yet available in the go-tfe library as a constant,
so for now we have the string directly in our switch statement. This is
a pragmatic way to expedite getting the "critical path" of this feature
in place without blocking on changes to ancillary codebases. A subsequent
commit should switch this over to tfe.CostEstimateSkippedDueToTargeting
once that's available in a go-tfe release.
2020-05-18 15:12:44 -07:00
..
testdata clean up go mod for go-tfe 2019-09-27 14:16:41 -07:00
backend.go Fixed minor grammatical errors 2020-05-04 17:34:50 +03:00
backend_apply.go prevent targeting for unsupported API versions 2020-05-15 16:57:18 -07:00
backend_apply_test.go backend/remote: Support -target on plan and apply 2020-05-15 15:58:45 -07:00
backend_common.go backend/remote: Handle cost estimation skipped due to targeting 2020-05-18 15:12:44 -07:00
backend_context.go vendor: go get github.com/hashicorp/go-tfe@v0.8.0 2020-05-15 15:58:01 -07:00
backend_context_test.go vendor: go get github.com/hashicorp/go-tfe@v0.8.0 2020-05-15 15:58:01 -07:00
backend_mock.go backend/remote: Handle cost estimation skipped due to targeting 2020-05-18 15:12:44 -07:00
backend_plan.go prevent targeting for unsupported API versions 2020-05-15 16:57:18 -07:00
backend_plan_test.go backend/remote: Handle cost estimation skipped due to targeting 2020-05-18 15:12:44 -07:00
backend_state.go Add support for force pushing with the remote backend 2020-05-06 12:07:43 -04:00
backend_state_test.go backend/remote: cleanup test connections 2019-02-07 09:55:19 +01:00
backend_test.go Improve remote backend missing token error 2020-02-05 13:25:29 -05:00
cli.go Change how to fall back from remote to local backend 2018-11-20 22:25:52 +01:00
colorize.go backend/remote: implement the Local interface 2018-11-26 20:50:25 +01:00
remote_test.go Change how to fall back from remote to local backend 2018-11-20 22:25:52 +01:00
testing.go prevent targeting for unsupported API versions 2020-05-15 16:57:18 -07:00