Commit Graph

209 Commits (e37526b4e5d09da129e51474a8ce722ca767fbf8)

Author SHA1 Message Date
Liam Cervante e37526b4e5
Refactor cloud test run cancellation logic to always intercept signals (#33930)
3 years ago
Liam Cervante ae6b36b247
fix panic when tests don't finish executing (#33929)
3 years ago
Liam Cervante ffbcaf8bef
Implement TFC integration for private module registry test runs (#33710)
3 years ago
Brandon Croft 70cf13cae3
cloud: don't update snapshot interval unless response is from tfe.v2
3 years ago
Brandon Croft f5463ce77c
cloud: fix ShouldPersistIntermediateState should be false when header absent
3 years ago
Brandon Croft 6500b7c740
change visibility of cloud.Backend Hostname field
3 years ago
hashicorp-copywrite[bot] 53c34ff49c
Update copyright file headers to BUSL-1.1
3 years ago
Brandon Croft b1d4f18a9b
Create provisional configuration version when saving cloud plan
3 years ago
Karl Kirch d7e07e66fc
Add ability to specify Terraform Cloud Project in cloud block (#33489)
3 years ago
Nick Fagerlund f98f920b67 Add error wrapper types to highlight bad plan/state data
3 years ago
Nick Fagerlund 1f35173192 Tests: Add tests for `(*Cloud).ShowPlanForRun()`
3 years ago
Nick Fagerlund 7f6b827987 Modify tfe client mocks to meet some new requirements
3 years ago
Nick Fagerlund d5938f6b45 Add `(*Cloud).ShowPlanForRun` method to support `terraform show`
3 years ago
Nick Fagerlund e0af3e25e0 Add `cloudplan.RemotePlanJSON` wrapper struct for keeping plan metadata together
3 years ago
Nick Fagerlund 2a08a5b46e Cloud: Split private `readRedactedPlan` func into two
3 years ago
Nick Fagerlund da963a13b9 Implement plan -out for Cloud
3 years ago
Nick Fagerlund f9d937a4dd Apply a confirmable run when given a saved cloud plan (#33270)
3 years ago
Nick Fagerlund 9d85f18930 Add NewSavedPlanBookmark function
3 years ago
Lauren dcccd3b266 Add error handling and tests for saved plan bookmark load/save (#33268)
3 years ago
Nick Fagerlund df7a1c821a Move SavedPlanBookmark to dedicated `internal/cloud/cloudplan` package
3 years ago
Lauren 717a36036d codify saved plan artifact contents (#33185)
3 years ago
Brandon Croft c1a730314d
Relocate localterraform.com aliasing to backend configurators
3 years ago
Liam Cervante 6882dd9530
testing framework: introduce test command optional flags (#33504)
3 years ago
James Bardin cf5ebaf685 s/Schemas/ProviderSchema/
3 years ago
James Bardin 36d34135ad replace remaining types in tests
3 years ago
Brandon Croft 9fe3f7a7b4
cloud: when saving state, create a pending state version then upload
3 years ago
kmoe 5900d1177c
cloud: assert import block compatibility (#33282)
3 years ago
CJ Horton 8213513e2b
Merge pull request #33278 from hashicorp/radditude/cloud-config-generation
3 years ago
CJ Horton 6ca13bfc1e fix static check errors
3 years ago
Brandon Croft 86eed095b3
Rename disableIntermediateSnapshots > enableIntermediateSnapshots
3 years ago
CJ Horton cdce4c4a6d write generated config when using the cloud integration
3 years ago
CJ Horton b88bae2ec4 tests for cloud backend config generation
3 years ago
Sebastian Rivera d03fd37ee6 Add interval header check to enable snapshots
3 years ago
Martin Atkins f6737d47e7 cloud: Allow Cloud API to lower the intermediate state snapshot interval
3 years ago
Martin Atkins efdc6e52bc cloud: Skip intermediate state snapshots in Terraform Cloud/Enterprise
3 years ago
hashicorp-copywrite[bot] 325d18262e [COMPLIANCE] Add Copyright and License Headers
3 years ago
Glenn Sarti 7e2e834aff
Emit warnings for certain run events in cloud backend (#33020)
3 years ago
Sebastian Rivera 5634ae3e18 Unit tests to ensure renderer is appropriately called
3 years ago
Sebastian Rivera b23cfaefe8 Refactor SRO check to prevent duplicate plan output
3 years ago
Alisdair McDiarmid ca53ca00f4 Remove failing DNS query in cloud tests
3 years ago
Alisdair McDiarmid 19e635bfc8 Remove polling delays in run tasks test
3 years ago
Brandon Croft 3d1a58d5b5
Merge pull request #32708 from mrinalirao/mr/taskStage-race
3 years ago
Brandon Croft ec4f62078a
Merge pull request #32666 from hashicorp/sebasslash/fix-credentials-sourcing-backend
3 years ago
Mrinali Rao afc9235f17
Update internal/cloud/backend_taskStages.go
3 years ago
mrinalirao 3104811c7d add test to see if override continues to poll on success
3 years ago
mrinalirao 190858b9e4 Bug Fix where CLI exits if run is not confirmable.
3 years ago
Sebastian Rivera 6d0a191ec4 Handle provisioner log types in renderer
3 years ago
Brandon Croft 26e85685d1
Merge pull request #32647 from hashicorp/TF-4390-backport-initial-remote-state-serial-fix
3 years ago
Sebastian Rivera 71dac9bf5e Add token field to cloud backend
3 years ago
Sebastian Rivera de574ae6d4
Initial implementation of structured logging in cloud backend (#32504)
3 years ago