Commit Graph

651 Commits (5f60cf44bc7d7ff21e00a9b5603653186d155c13)

Author SHA1 Message Date
sundowndev 5f60cf44bc refactor: simplify middleware code
following code review feedback. pkg/middlewares/aws_route_table_expander.go
2021-04-13 14:40:07 +02:00
sundowndev 257c1260dd refactor: create routeExists method 2021-04-13 14:40:07 +02:00
sundowndev 0dd062b7db fix: false positive on aws routes 2021-04-13 14:38:33 +02:00
sundowndev e7994fb81f test: update golden files for iam_role_policy_attachment 2021-04-13 14:12:03 +02:00
sundowndev 291659df05 refactor(aws): NormalizeForState method 2021-04-13 14:02:50 +02:00
sundowndev b4f6dc9ef7 test(acc): delete useless resource assets 2021-04-13 14:02:50 +02:00
Louis TOUSSAINT f8102fa326 Issue 366: Fix false positive on aws_iam_policy_attachment 2021-04-13 14:02:50 +02:00
Raphaël d7fc812cf8 chore: fix a typo in comment 2021-04-13 14:02:50 +02:00
Louis TOUSSAINT f6479c334d Issue 375: Fix false positive for route53_record Records and Ttl field +
typo
2021-04-13 14:02:50 +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
Louis TOUSSAINT a087e3af65 Issue 375: Fix pointer on aws_route53_record Records field to avoid crash when it's null 2021-04-13 14:02:50 +02:00
Louis TOUSSAINT cfc81b766a Typo in pkg/middlewares/route53_records_test.go 2021-04-13 14:02:50 +02:00
Elie 9ec8c14156 Truncate file when opening file in json output 2021-04-13 14:02:50 +02:00
sundowndev 64050b34f9 fix(resource): ignore FinalSnapshotIdentifier field 2021-04-13 14:02:50 +02:00
sundowndev b8113671d8 test(analyser): fix sorting in expected result 2021-04-13 14:02:50 +02:00
sundowndev a637de6f8c refactor: sort difference's changelogs 2021-04-13 14:02:50 +02:00
sundowndev fa9132f14c fix: resource diff sorting 2021-04-13 14:02:50 +02:00
sundowndev 753dd50286 test(analyser): enable slice ordering 2021-04-13 14:01:35 +02:00
Louis TOUSSAINT 32daca00c4 Issue 371: RePrint p.count.load to display last number of resources scanned and hide animation character when progress bar end 2021-04-13 14:01:35 +02:00
sundowndev 01a637f494 refactor(cmd): rename deleted to missing in json output 2021-04-13 14:01:35 +02:00
sundowndev 03fc4062be test: scan output 2021-04-13 14:01:35 +02:00
sundowndev 6ff780ce51 refactor(cmd): more human readable output 2021-04-13 14:01:35 +02:00
Louis TOUSSAINT afb9c9a648 Issue 367: Add details to error reporting flag in help message, similar to driftctl-docs 2021-04-13 14:01:35 +02:00
Louis TOUSSAINT 0c07b278ef Issue 369: Remove LastModified field for aws_lambda_function from drift reports 2021-04-13 14:01:35 +02:00
sundowndev a348019115 chore: fix lint errors 2021-04-13 14:01:35 +02:00
Raphaël ff0ffcb5d7 fix(analyser): link to docs about limitations 2021-04-13 14:01:35 +02:00
Elie 90da652880
Merge pull request #411 from cloudskiff/test/middlewares
Start testing middlewares that create resources
2021-04-08 18:15:57 +02:00
Elie 8e56de6530
Merge branch 'main' into test/middlewares 2021-04-08 18:10:44 +02:00
Elie d9a8298872 Update docker go version used for build in CI 2021-04-08 17:32:06 +02:00
Elie 0d6414ac64 Fix arch display in build script 2021-04-08 16:00:30 +02:00
William Beuil d797d35d7a
Testing middlewares that create resources 2021-04-08 11:58:37 +02:00
Raphaël 88e729c293
Merge pull request #406 from cloudskiff/fix/httpStatus
Return explicit error on bad http status code
2021-04-07 18:48:03 +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 e7f5c1a76a
Merge pull request #389 from cloudskiff/add_resource_factory
Add resource factory
2021-04-07 10:51:42 +02:00
Elie 406a6c89f7
Merge branch 'main' into add_resource_factory 2021-04-06 16:49:14 +02:00
Elie 141ffbe81b Prevent gox install to update go.mod 2021-04-06 16:48:47 +02:00
Elie 2b71c8e650 Add resource factory 2021-04-06 16:43:35 +02:00
Elie 5789a0c24e Use go install instead of go get for tools installation 2021-04-01 10:23:42 +02:00
Elie a1a56c223b
Merge pull request #399 from cloudskiff/add_functional_test
Add tests for driftctl
2021-03-31 18:18:06 +02:00
Elie 46475cc6d2
Merge branch 'main' into add_functional_test 2021-03-31 18:10:26 +02:00
Elie 0847e2176a
Merge pull request #400 from cloudskiff/fix_test_updates_go_mod
Prevent go test to update go.mod
2021-03-31 18:09:36 +02:00
Elie 7c112a8bfe Add tests for driftctl 2021-03-31 17:53:36 +02:00
Elie 04c2c3845c Prevent go test to update go.mod 2021-03-31 16:35:46 +02:00
Elie bfdb705803
Merge pull request #395 from cloudskiff/allow_multiples_args_in_checks
Allow to set args in checks in acceptance test
2021-03-30 19:21:58 +02:00
Elie 7170f9f09c Allow to set args from checks 2021-03-30 19:06:02 +02:00
Elie 6f39d5c99c
Merge pull request #393 from cloudskiff/fix/ciDeps
Add missing 'make deps' steps in CI
2021-03-30 17:47:40 +02:00
Raphaël 172e51f53e
ci: remove make deps step for unit tests 2021-03-30 17:38:45 +02:00
Raphaël 23a134cde6
ci: add missing 'make deps' steps 2021-03-30 17:32:46 +02:00