Commit Graph

247 Commits (2cbb6bf92fce17e8de5e681dcc47ed85f32e9b23)

Author SHA1 Message Date
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
uturunku1 a9da859ee5 rename variables to something more descriptive
4 years ago
uturunku1 77946af472 pull latest changes from go-tfe branch and use use new field name that previously was incorrectly named TaskStage
4 years ago
uturunku1 8090b23db7 delete unused function
4 years ago
Brandon Croft 0b8bb29a61 [cloud] refactor integration context and add code documentation
4 years ago
Brandon Croft 791c36c504 [cloud] report run tasks by name instead of assuming pre_apply
4 years ago
uturunku1 6b5da4d43c [cloud] run tasks output formatting
4 years ago
Brandon Croft 2938ec43fa [cloud] handle unreachable run tasks
4 years ago
uturunku1 3e9ae69a12 [cloud] run tasks integration
4 years ago
Barrett Clark d196d2870a Refactor cloud table test runs
4 years ago
Barrett Clark c647b41d65 Add parallelism back into the tests
4 years ago
Barrett Clark 7aeaec9b48 Update tests for new prompts
4 years ago
Barrett Clark 27aa51687e Fix cloud e2e tests for updated migration flow
4 years ago
Martin Atkins bac59d2480 command/init: Be explicit that some options are not relevant for Cloud
4 years ago
Martin Atkins c28b57b4d6 cloud/e2e: Additional context for failing to find expected output
4 years ago
Martin Atkins e5172fea95 cloud: DetectConfigChangeType helper
4 years ago
Barrett Clark a146a2746e Add clarifying commend and e2e test
4 years ago
Omar Ismail 9b675f8b70 Add skip for cloud e2e tests when env vars missing
5 years ago
Omar Ismail 57a4b51e87 remove build tags for cloud e2e
5 years ago
Barrett Clark 5ef82ddd2f Cloud: fix e2e tests
5 years ago
Brandon Croft 1f01ba4dbc
fix(run variables): support all variable types (map, list, bool, number, null, string)
5 years ago
Brandon Croft 9441666d9a
Merge pull request #29903 from hashicorp/pull-mock-gotfe-changes
5 years ago
Chris Arcand 21750037d5 cloud: Help output typos
5 years ago
uturunku1 58304b678c import path to go mocks in tfe
5 years ago
Luces Huayhuaca 4e3218b4d5
cloud: convert uses of worspaces.operations into workspaces.executionMode (#29844)
5 years ago
Omar Ismail 1da7031855 cloud: Add tags to workspace if necessary when fetching state
5 years ago
Barrett Clark 9c13521d76 Allow cloud tests to be run in parallel
5 years ago
Nick Fagerlund 02e62c9851
Cloud: Init without erroring when no workspaces match the `tags` (#29835)
5 years ago
Alisdair McDiarmid a61bd8a96b cloud: Fix prerelease version constraint checks
5 years ago
Chris Arcand 14260a5b4c Adjust default workspace naming prompt
5 years ago
Brandon Croft 6d9c919f55 adds X-Terraform-Integration header
5 years ago
Chris Arcand 3d23a8e062 cloud: Fix version check regression
5 years ago
Chris Arcand 652a68715f cloud/e2e: Misc test fixes
5 years ago
Chris Arcand f881c2d794 cloud: Skip E2E tests without an exact version
5 years ago
Chris Arcand e364ef2905 cloud/e2e: Disable cost estimation
5 years ago
Omar Ismail fc5863844c Cloud migration: ignore backend version check when empty worksapces
5 years ago
Nick Fagerlund fabd8eb0b6 Fix broken rename behavior in tfe_client_mock.go
5 years ago
Chris Arcand 50997d9a32 Restore API version checking, with internal usage accounted for
5 years ago
Nick Fagerlund cb26cbba22 Add tests for cloud.StateMgr() when TFC lacks local tf version
5 years ago
Nick Fagerlund c99f5972de cloud.StateMgr(): Set terraform version AFTER creating workspace
5 years ago
Chris Arcand aace0015c2 cloud: Fix E2E variables test
5 years ago
Brandon Croft 64fbb0b613 remove reference to AccessInternalTools
5 years ago
Chris Arcand 12a4af3e72 Temporarily skip API version checking
5 years ago
Barrett Clark ab304d831f Found another path to backend init error
5 years ago
Omar Ismail 5ff2495ffa Update HasResource to HasManagedResourceInstanceObjects
5 years ago
Omar Ismail 86f93a2cbc Cloud UX test fixes
5 years ago
Omar Ismail dfb4609be2 Backend State Migration from cloud to cloud.
5 years ago
Barrett Clark 93bfcff61a More Terraform Cloud UX changes
5 years ago
Barrett Clark d04c01573c Fix iterator in a couple of e2e tests
5 years ago
Omar Ismail dc76bbee73 Backend State Migration: Add remote backend test
5 years ago
Omar Ismail 3fedd6898c Backend State Migration to `cloud`: Multiple Workspaces
5 years ago
Nick Fagerlund baa72ce235 Simplify logic flow: everything is a constraint
5 years ago
Barrett Clark 83538fdd6b Shift errors to error file, improve error text
5 years ago
Nick Fagerlund 9857097b34 Add tests for version constraints in workspace terraform-versions
5 years ago
Nick Fagerlund b43daeaa8d Cloud backend: accept version constraints from workspaces
5 years ago
Barrett Clark 83337de654 Remove prefix from the cloud backend config
5 years ago
Barrett Clark edbc84420c Run apply -refresh-state instead of refresh
5 years ago
Brandon Croft bf02b5cb53 e2e test for cloud run variables
5 years ago
Brandon Croft 9963bf940a refactor: only fetch variables if unset variables are not allowed
5 years ago
Omar Ismail dd856f8a1b Add run variables to cloud plan operations from non-file sources
5 years ago
Omar Ismail 55fc590904 Teraform Cloud Backend State Migration
5 years ago
Chris Arcand 7cc53fe163 cloud: Set minimum TFE version
5 years ago
Chris Arcand 46e47ed379 Use the 'tfe' service for everything.
5 years ago
Chris Arcand 412679522d Remove all constraint checking
5 years ago
Chris Arcand a4e196d067 Port backend/local: Check dependency lock consistency before any operations
5 years ago
Omar Ismail d5567b479c Fix terraform version in cloud e2e tests to ignore prerelease. (#29)
5 years ago
Omar Ismail a387af6c61 Add auto-approve logic, e2e tests
5 years ago
Chris Arcand ee384e8716 Attempt to set current Terraform version on new workspaces, always
5 years ago
Chris Arcand aba7d96596 cloud: Support interop from 0.14 to 1.1
5 years ago
Chris Arcand 74e087dc29 Rename cloud.testBackendDefault -> cloud.testBackendWithName
5 years ago
Chris Arcand d2b6b5f2b3 cloud: Align local and remote workspace name with 'name' strategy
5 years ago
Omar Ismail a94b2405b1 static checker
5 years ago
Omar Ismail 594a390f84 Use context parallelism
5 years ago
Chris Arcand 1791b71196 cloud: TestCloud_backendWithTags
5 years ago
Chris Arcand a97a1c8f66 cloud.MockClient: Use Contains() to implement Search
5 years ago
Chris Arcand 9bdf1d2579 Rename testBackendNoDefault
5 years ago
Chris Arcand 6dcd0db265 Map CLI workspaces by TFC tags
5 years ago
Chris Arcand 7a243379fb cloud: Refactor workspaceMapping concerns into strategy()
5 years ago
Chris Arcand 922a8e4488 Refactor private workspace fields into workspaceMapping
5 years ago
Omar Ismail 0a125c0400 Cloud: refactor setting attributes, add tests
5 years ago
Omar Ismail 8f49757f89 Add testing for Cloud PrepareConfig
5 years ago
Chris Arcand 471dd479e8 Update go-tfe to 26689e
5 years ago
Chris Arcand 34597c237f cloud: Don't ignore .log golden files
5 years ago
Chris Arcand 85f37f1aa5 Add missing log mocks
5 years ago
Martin Atkins f4758803fe cloud: Backend implements new version of the backend.Local interface
5 years ago
Chris Arcand a5f063625a Replace generic host error messages for feature support
5 years ago
Chris Arcand ea8ad0b15a Initial commit of 'cloud' package
5 years ago