Commit Graph

136 Commits (096510fdfd085fc74479953cc5914113bbacbfde)

Author SHA1 Message Date
Glenn Sarti 1773129832 Add tests for cloud backend taskStage
4 years ago
Glenn Sarti 43371b8293 Add support for pre-apply task results in the cloud backend
4 years ago
Glenn Sarti 18da2f0213 Refactor task stage retrieval in cloud backend
4 years ago
Megan Bang 72ba8a869e removes EnableForcePush and other unrelated code
4 years ago
Megan Bang 5eaa4c45c0 fix imports
4 years ago
Megan Bang de8bd5826f first part of code review comments
4 years ago
Megan Bang 7e5b7b283e updates for code consistency
4 years ago
Megan Bang dbf99f17b1 add test and removed backend state from cloud
4 years ago
Megan Bang bddf6a9b34 updating to use the latest version of cloud/state.go and just pass schemas along to PersistState in the remote state
4 years ago
Megan Bang 344379f5c7 fix cloud state breaking?
4 years ago
Megan Bang 021f1f69e9 updates to cloud state
4 years ago
Megan Bang 4fab46749a update persist state
4 years ago
Martin Atkins 783a07d9e8 build: Use Go 1.19
4 years ago
Glenn Sarti 8562f8a744 Add Pre-Plan Run Tasks to Terraform CLI
4 years ago
Brandon Croft 50d48c635e
remove unused error and fix output authorization detection
4 years ago
Brandon Croft 0139e75a1a
feature: fall back to reading entire state when detailed-type is not available
4 years ago
Brandon Croft e1fa690879
style: goimports fixes
4 years ago
Brandon Croft 166d21b20b
refactor: extract cloud state ctyValue conversion function
4 years ago
Brandon Croft e794efc31e
better errors from terraform output when cloud is configured
4 years ago
Brandon Croft c33c8b013f
fix: have `terraform output` adhere to authorization w/ cloud
4 years ago
Brandon Croft 7892cb6b5a
reformat imports using goimports
4 years ago
Brandon Croft 0b9bd2fc36
make cloud backend_state error messages more conventional
4 years ago
Brandon Croft 01d510f3cb
test(cloud): ensure state version is created when saving state
4 years ago
Anna Winkler d72911a640 Save detailed type outputs to JSONStateOutputs
4 years ago
Luces Huayhuaca 70ddcc7d0d
add url to summary and check for optional values (#30993)
4 years ago
Anna Winkler 22c121df86
Bump compatibility version to 1.3.0 for terraform core release (#30988)
4 years ago
Luces Huayhuaca ea1f0007ff
fix typo for task.Status (#30978)
4 years ago
Sebastian Rivera 9d7fdbea2d Handle -input=false in cloud integration
4 years ago
Sebastian Rivera 5ded48e081 Give token in cloud config higher precedence than CLI config file
4 years ago
Sebastian Rivera f63ef2b5ef Rename cloud env vars to use TF_CLOUD prefix
4 years ago
Brandon Croft 42da030090
Merge pull request #30850 from hashicorp/brandonc/cloud_test_revisions
4 years ago
Brandon Croft 0dc26a9585
test(cloud): nonexisting org not a valid test when using mocks
4 years ago
Brandon Croft a38a0ee8a8
test(cloud): ensure mocks are used for backend configure tests
4 years ago
Sebastian Rivera b191faf8a4 Add skip test if missing vars helper
4 years ago
Sebastian Rivera 34114286ff Cloud e2e tests for configuring with env vars
4 years ago
Sebastian Rivera 8040dfec34
Merge pull request #30787 from hashicorp/sebasslash/tf-workspace-cloud-config
4 years ago
Sebastian Rivera dd864b1bac Add TF_WORKSPACE validation method
4 years ago
Eng Zer Jun fedd315275
test: use `T.TempDir` to create temporary test directory (#30803)
4 years ago
Sebastian Rivera 995ef15ab9 Add cloud configuration support for TF_WORKSPACE
4 years ago
Martin Atkins 49d7c879ac Fix problems caught by staticcheck v0.3.0
4 years ago
Sebastian Rivera a52c87cb5a Fix a flaky test manipulating environment variables
4 years ago
Sebastian Rivera 232d48fe00 Add support for TF_HOSTNAME env var
4 years ago
Sebastian Rivera b1c22d333e Fix error formatting for missing env and config value
4 years ago
Sebastian Rivera 45357f5004 Add TF_ORGANIZATION env var support
4 years ago
Luces Huayhuaca bdc7d8c0a1
Upgrade go-tfe dependency to use 1.0 version. It contains breaking changes, so we are updating method signatures, method names and the type of optional parameters, as needed. (#30626)
4 years ago
Theo Chupp d15a2bc024
fix: local variables should not be overridden by remote variables during `terraform import` (#29972)
4 years ago
Sebastian Rivera 52c5f9f6b7 Updated for latest go-tfe run task changes
4 years ago
Sebastian Rivera 126d6df088 Added run task support for post plan run stage, removed pre apply
4 years ago
uturunku1 383da4893b use new enum string for task stages
4 years ago
Brandon Croft aa0dda81b4 Fall back to reading latest run without task_stages
4 years ago