sundowndev
59f7411590
test: GCS backend
...
Improve testing of the GCS backend: never use the non-mocked storage client to avoid IO/network operations.
2021-12-17 11:31:50 +04:00
sundowndev
7e805feb5a
test(backend): gcs
2021-12-14 18:42:38 +04:00
sundowndev
a0383a355e
feat: implement gcs backend
...
feat: implement gcs backend
Improve fake storage server implementation
2021-12-10 12:11:25 +01:00
p0tr3c
6ad8286c24
feat: human readable tfc workspace names
...
Resolve terraform cloud workspace names based on org/name path.
Support both human readable names and workspace ids.
Use go-tfe http client to connect to TFE servers to reuse existing
code
2021-12-08 18:22:58 +00:00
Elie
1cdccb0be0
Move to @snyk
2021-12-06 14:29:39 +01:00
Christopher Bowman
9591633e8a
Set the TFCloudEndpoint parameter that would be set via default in cmd options
2021-11-15 10:08:23 -05:00
Christopher Bowman
03464d89bc
Change TFCloudAPI to TFCloudEndpoint
2021-11-15 09:24:07 -05:00
Christopher Bowman
8ba05f995b
Address remarks
2021-11-15 09:07:22 -05:00
Christopher Bowman
6c2f9653e1
Support passing in the Terraform API URL to support Terraform Enterprise installations.
...
Look for the correct domain in from credentials.tfrc.json
2021-11-12 17:46:32 -05:00
Elie
937eeb45ca
Fix windows TFCloud creds path
2021-09-08 10:31:24 +02:00
William Beuil
ea7a9c1b54
Should read terraform config file
2021-08-30 17:51:35 +02:00
Louis TOUSSAINT
8fb10e0b3a
Issue 615: Add envProxy and tests to s3Reader
2021-07-06 10:28:11 +02:00
Elie
623ff3dc8e
Move all AWS mocks to test/aws
2021-05-10 15:02:42 +02:00
Rémi Doreau
53a17a381a
refactor(tfcloud): rebase
2021-05-10 15:02:42 +02:00
Rémi Doreau
d0104515b1
fix(tfcloud): rename tfcloud -> tfc
2021-05-10 15:02:42 +02:00
Rémi Doreau
57df7fe028
fix(tfcloud): rename tfcloud -> tfc
2021-05-10 15:02:42 +02:00
Rémi Doreau
2ac9f893d6
fix(cloud_reader): requested changes
2021-05-10 15:02:42 +02:00
Rémi Doreau
499c1215c3
fix(cloud_reader): update tests + tfcloud token flag
2021-05-10 15:02:42 +02:00
Rémi Doreau
609d3ec059
fix(cloud_reader): make tests pass
2021-05-10 15:02:42 +02:00
Rémi Doreau
b555b8b58a
feat(state): add cloud reader
2021-05-10 15:02:42 +02:00
Rémi Doreau
73c0387639
feat(schemes): add tfcloud
2021-05-10 15:02:42 +02:00
sundowndev
bcff002e50
refactor: create pkg/http package
2021-05-10 15:02:42 +02:00
sundowndev
942ff40eeb
refactor(http): perform request in Read method
2021-05-10 15:02:42 +02:00
sundowndev
9a8a4b4e74
fix: response body overrided by buffer
2021-05-10 15:02:41 +02:00
sundowndev
8116ac4ccf
test: mock http client
2021-05-10 15:02:41 +02:00
sundowndev
c262472255
refactor: http request error handling
2021-04-07 15:12:30 +02:00
sundowndev
1fda9be6f4
refactor: use proper errors pkg
2021-04-07 14:11:18 +02:00
sundowndev
fc43dcd211
fix: return error on bad http status code
2021-04-07 14:11:18 +02:00
sundowndev
fbb78673f1
feat: create backend options to send HTTP headers
...
Some users may want to send headers along with the request, for example when authorization is requred.
2021-03-16 16:21:28 +01:00
sundowndev
ce1e9ec82b
feat(backend): implement http(s) backend
2021-03-16 11:57:48 +01:00
Elie
69345a5c34
Add state enumerator
2021-02-24 14:18:59 +01:00
Elie
5e0484ac9d
Use errors.Errorf
2021-02-10 14:37:59 +01:00
Elie
b2cf465aeb
Use pkg/errors to view stack on sentry
2021-02-09 19:43:39 +01:00
Elie
ff72de8e77
🍾 Initial release
...
Co-authored-by: William BEUIL <william.beuil@cloudskiff.com>
Co-authored-by: Martin GUIBERT <martin@cloudskiff.com>
2020-12-09 16:35:26 +01:00