Commit Graph

99 Commits (623ff3dc8ed95dc68a24e2d95f6716ea08eee0c0)

Author SHA1 Message Date
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 252674cb56 feat: add iac progress bar 2021-05-10 15:02:41 +02:00
sundowndev c088a2fbc9 feat: add support for ** in s3 2021-05-10 14:45:44 +02:00
sundowndev 65704bf228 chore: fix a minor typo 2021-05-10 14:45:44 +02:00
sundowndev 0414c028b9 refactor: disable file matching when not using glob 2021-05-10 14:45:44 +02:00
Martin Guibert 885a404959 Limited glob support.
Support go glob syntax + ** syntaxe on file enumerator
Support go glob syntax on s3 enumerator
2021-05-10 14:45:44 +02:00
sundowndev 937154e23b feat: detect & exclude unsupported Terraform versions 2021-05-10 14:45:44 +02:00
Elie a2fa8a281a
Add missing schema metadatas in state reader tests 2021-05-07 17:57:31 +02:00
Elie ba3dda704c
Refacto remaining s3 resources 2021-05-06 17:14:00 +02:00
Elie 98a43acd14
Refacto s3 bucket 2021-05-06 15:36:24 +02:00
William Beuil 18d406178e
Add aws_ebs_volume 2021-05-04 13:41:06 +02:00
William Beuil 2b5ba194a1
Add aws_instance 2021-05-04 13:41:06 +02:00
William Beuil 86a3989d49
Add aws_ebs_snapshot 2021-05-04 13:41:06 +02:00
William Beuil 356e8b9004
Add aws_dynamodb_table 2021-05-04 13:41:06 +02:00
William Beuil adfafa3472
Add aws_default_vpc 2021-05-04 13:41:06 +02:00
William Beuil ef935fb77f
Add aws_default_security_group 2021-05-04 13:41:05 +02:00
William Beuil 4aa06223da
Add aws_default_route_table 2021-05-04 13:41:05 +02:00
William Beuil d618139eac
Add aws_db_subnet_group 2021-05-04 13:41:05 +02:00
William Beuil b7e38f9e26
Add aws_db_instance 2021-05-04 13:41:05 +02:00
William Beuil e25c0ff868
Add aws_ami 2021-05-04 13:41:05 +02:00
William Beuil a8064e2728
Add .tf to cloudfront state reader 2021-05-04 13:41:05 +02:00
Elie ef492ae0c0
Merge branch 'main' into refact/ACC_tests 2021-05-03 11:41:21 +02:00
Martin Guibert 80687e5029
Add hybrid resource behavior 2021-04-23 17:07:35 +02:00
sundowndev f0f36d010d feat: add dynamic TF versions to acceptance tests 2021-04-14 12:42:14 +02:00
sundowndev 1924900e9a chore: fix conflicts with main branch 2021-04-13 14:55:10 +02:00
Martin Guibert 1ee31b4679 Fix #409
- Ignore directory (size <= 0) when listing bucket object
- Add test for empty directory
2021-04-13 14:40:07 +02:00
sundowndev e7994fb81f test: update golden files for iam_role_policy_attachment 2021-04-13 14:12:03 +02:00
Louis TOUSSAINT 298b2cfee4 Issue 375: Add test to check route53_record with null records field 2021-04-13 14:02:50 +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
Elie 7c112a8bfe Add tests for driftctl 2021-03-31 17:53:36 +02:00
William Beuil 0881b44577
Refactoring to filter on Cty.Value 2021-03-29 10:28:39 +02:00
sundowndev 4d9f8fa60b chore: fix merge conflict 2021-03-16 16:48:07 +01:00
sundowndev e91ad26591 test: update scan & supplier tests
to include tfstate+http and tfstate+https schemes
2021-03-16 16:35:28 +01:00
Martin Guibert 28d3a6df7e Add progress service that display a spinner until stopped or timeouted 2021-03-16 16:35:20 +01:00
sundowndev 0ad9ac7050 chore: fix lint errors 2021-03-16 16:29:32 +01: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