Martin Guibert
d9d735615e
split github_team_supplier
2021-07-01 15:52:52 +02:00
Elie
0ca2866e5e
Merge branch 'main' into sso
2021-06-30 18:26:22 +02:00
William Beuil
47500b7771
Refacto AWS mocks for repositories and clients
2021-06-28 18:21:12 +02:00
Martin Guibert
54e5d17ee8
simpler test function to test against golden file
2021-06-28 15:16:56 +02:00
Elie
73200b1ae8
Add scanner test
2021-06-28 15:16:55 +02:00
Elie
35b511ef43
Retrieve provider version and schema version
2021-06-14 11:02:10 +02:00
Martin Guibert
e441425e70
[RUN ACC] fix acc tests
...
filter our own keys for aws_iam_access_key
increase timeout
2021-06-09 11:35:31 +02:00
Elie
a373bb0744
Remove human readable func from resource
2021-06-02 13:56:18 +02:00
Elie
b5c48dbbfc
Finished refacto
2021-05-31 18:46:20 +02:00
Louis TOUSSAINT
76ccdd6d40
Issue 439: Always print ID in resource, by changing stringer with AttributeGetter interface
2021-05-27 15:21:45 +02:00
Martin Guibert
8cd70f3248
run tf destroy event when apply fail during acc test
2021-05-21 16:16:42 +02:00
Elie
e048c39a69
Disable telemetry in acc tests
2021-05-11 10:23:19 +02:00
Elie
623ff3dc8e
Move all AWS mocks to test/aws
2021-05-10 15:02:42 +02:00
Elie
ef492ae0c0
Merge branch 'main' into refact/ACC_tests
2021-05-03 11:41:21 +02:00
Raphaël
03541308ac
Merge branch 'main' into test/strictMode
2021-04-30 13:35:16 +02:00
Martin Guibert
80687e5029
Add hybrid resource behavior
2021-04-23 17:07:35 +02:00
sundowndev
1ce230d03c
test: add a test case for strict mode with filters
2021-04-19 15:42:10 +02:00
sundowndev
f0f36d010d
feat: add dynamic TF versions to acceptance tests
2021-04-14 12:42:14 +02:00
Elie
7c112a8bfe
Add tests for driftctl
2021-03-31 17:53:36 +02:00
Elie
7170f9f09c
Allow to set args from checks
2021-03-30 19:06:02 +02:00
William Beuil
0881b44577
Refactoring to filter on Cty.Value
2021-03-29 10:28:39 +02:00
Elie
a1d84e1f7d
Merge branch 'main' into fea/refacto_rds_repository
2021-02-25 10:34:07 +01:00
Elie
a3d21be021
Merge branch 'main' into fea/refacto_lamda_repository
2021-02-25 10:28:31 +01:00
Elie
1c7778477c
Merge branch 'main' into allow_prefix_usage_in_iac_source_for_s3
2021-02-25 10:05:59 +01:00
Martin Guibert
922626c77c
refacto rds supplier and test to use mock and repository
2021-02-24 17:29:57 +01:00
Martin Guibert
984b8feee7
refacto lambda supplier and test to use mock and repository
2021-02-24 16:31:23 +01:00
Elie
5bf6a4ad7a
Add acc test
2021-02-24 14:19:08 +01:00
Martin Guibert
700879714a
refacto ec2 to use repository
2021-02-23 18:47:42 +01:00
Martin Guibert
c46096018e
refacto route53 to use repository everywhere
2021-02-22 14:14:47 +01:00
Elie
76d98ed8e7
Remove custom mock and add repository for S3
2021-02-18 17:56:48 +01:00
William Beuil
476c6c62db
Add cloudfront_distribution resource
2021-02-17 15:52:09 +01:00
Elie
31a3cf52d1
Add new logger for terraform plugin
2021-02-10 15:04:07 +01:00
sshota0809
a2bc8346db
Run go fmt
...
related to #119
Signed-off-by: sshota0809 <8736380+sshota0809@users.noreply.github.com>
2021-02-05 21:40:33 +09:00
sshota0809
232fc3043f
Replace manual terraform execution with hashicorp/terraform-exec
...
related to #119
Signed-off-by: sshota0809 <8736380+sshota0809@users.noreply.github.com>
2021-02-05 21:32:46 +09:00
William Beuil
dcee6fd6b3
Add retry mechanism for polling, use it to poll sqs queues during acc tests
2021-02-04 22:16:18 +01:00
Martin Guibert
06469bd62d
add acceptency test
2021-02-04 09:37:33 +01:00
William Beuil
ad5ad4cc76
Add aws_sqs_queue
2021-02-03 20:52:51 +01:00
Elie
04fe9c4d40
Fix unexpected deleted resources in acceptance tests
...
Cobra cmd seems to return flag twice when executed multiples times
2021-02-03 19:20:21 +01:00
Elie
58be0f9bc5
Merge branch 'main' into issue/175
2021-02-03 11:24:29 +01:00
Elie
5daec82ecc
Remove singleton to fix issues when chain multiples cmd run
...
We have some issue when running acceptance test, more generally
when we use to execute scan cmd multiples times.
We were using global singletons for provider and resources suppliers
managment which lead us to improper state in the second scan run.
We should avoid this in the future and make proper initialization of our
dependencies maybe using a dependency injection container.
2021-02-01 11:49:50 +01:00
sshota0809
93973490db
Embed the environment variables before PreExec in ACC test
...
Closed : #175
Signed-off-by: sshota0809 <8736380+sshota0809@users.noreply.github.com>
2021-02-01 18:45:10 +09:00
William BEUIL
31e20a1b88
Merge branch 'main' into acc_test_fixes
2021-01-29 18:38:58 +01:00
Elie
f06a426f90
Fix acceptance test issues
...
- Set all test AZ to us-east-1
- Use terraform overriden env in PreCheck() to ensure mutations are
executed with read write credentials
- Fix hidden error in aws_instance test (tag creation failure was not
handled
- Minor fmt fix
2021-01-29 18:36:26 +01:00
Martin Guibert
bebf5c887c
alert and ignore when listing resources is forbidden
2021-01-29 10:19:52 +01:00
Elie
c4c5499cb6
Return exit code 1 when infrastructure not in sync
2021-01-28 14:34:21 +01:00
Elie
6cc53fd990
Fix test order unpredictable
2021-01-27 12:06:19 +01:00
Elie
b2fc9dd562
Allow to override env vars for terraform operations in acc tests
2021-01-27 10:48:14 +01:00
Elie
5cc322fa90
Display analysis summary when infra not in sync in acc tests
2021-01-14 18:15:23 +01:00
Elie
06abff67ba
Add support for aws_subnet and aws_default_subnet
2021-01-11 18:16:16 +01:00
William Beuil
71d0d7d224
Change computed field logic
2021-01-11 17:34:04 +01:00