Commit Graph

196 Commits (b9d17f99f1e177db1774807205be8d70af3a90db)

Author SHA1 Message Date
Louis TOUSSAINT 9679667bda ISSUE 184: Improve aws_iam_access_key_ext output by creating stringer 2021-02-09 11:00:28 +01:00
Martin Guibert 0916a37d7e fix policies in topic subscription not beeing tag as jsonstring 2021-02-09 10:52:27 +01:00
Elie bc8b1f53a0
Merge pull request #228 from cloudskiff/fix_default_drift_sns_topic
Fix false positive drifts on aws_sns_topic
2021-02-08 18:43:14 +01:00
Elie 2f7fa28622
Fix false positive drifts on aws_sns_topic 2021-02-08 18:38:57 +01:00
Elie 03af2ca770
Fix policy displayed inline 2021-02-08 18:36:20 +01:00
Elie a956cf938a
Merge branch 'main' into issues_79_lotoussa 2021-02-08 15:35:19 +01:00
Louis TOUSSAINT 04039f7aff ISSUE 79: Create a more readable aws_route53_zone output 2021-02-08 13:46:36 +01:00
Louis TOUSSAINT 738d2234ee ISSUE 79: Create a more readable aws_route53_record output 2021-02-08 13:46:32 +01:00
Martin Guibert 18f7ad6bb8 add support for aws_sns_topic_subscription 2021-02-08 12:09:38 +01:00
Elie bc0c052f4b
Merge branch 'main' into fix_s3_acc_test_collisions 2021-02-05 16:15:41 +01:00
Elie 14e742a4e6
Add random string in s3 acc test bucket name 2021-02-05 16:07:21 +01:00
Martin Guibert 7041cf12e5 add support for sns_topic_policy
modify sns_topic support so that we create sns_topic_policy for inline
policy
2021-02-05 14:08:28 +01:00
Elie f87d3e4691
Merge branch 'main' into handle_invalid_routes_in_table 2021-02-05 13:42:18 +01:00
Elie 5b9b70c525
Remove reference used in loops 2021-02-04 22:45:10 +01: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
Martin Guibert 740b872e01 update test, stringer for sns topic, refacto client into repository 2021-02-04 09:36:42 +01:00
Martin Guibert 7351511dd1 add support for sns_topic 2021-02-04 09:36:42 +01:00
William Beuil 0d738f9dc4
Update SQS suppliers and tests 2021-02-03 21:08:57 +01:00
William Beuil d3c542c004
Add aws_sqs_queue_policy 2021-02-03 20:52:52 +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 a8f0300405
Handle invalid route crash in middlewares 2021-02-03 16:24:55 +01:00
Elie 8963a4c029
Add CI config to schedule acceptance tests 2021-02-02 18:48:39 +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
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
Elie 046c4ae04f
Fix false positive drift on aws_iam_user 2021-01-25 11:35:17 +01:00
William Beuil 734adf5cea
Add aws_internet_gateway resource 2021-01-21 16:00:16 +01:00
Elie 4faab489d2
Add aws_nat_gateway 2021-01-21 09:53:04 +01:00
Elie 211cd53f8d
Add route_table_association 2021-01-20 13:50:32 +01:00
Elie 81c608973b
Add support for multiples IaC sources 2021-01-18 17:56:21 +01:00
William Beuil bd233350a9
Add aws_default_security_group 2021-01-15 17:03:16 +01:00
Elie 3eb84e0500
Add aws_route, aws_route_table, aws_default_route_table support 2021-01-14 18:23:59 +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
Elie 1a05e3ef33
Merge branch 'main' into fix_crash_for_s3_buckets 2021-01-07 10:18:36 +01:00
Elie 8a06eaa318
Fix crash for buckets in us-east-1 2021-01-07 10:06:08 +01:00
Elie c83b538d6a
Several improvements on acceptance tests
- Add filter on aws_instance test
- Add terraform locks
- Do not run terraform init if already done previously
- Do not use chdir in tests (it could cause race if we want to switch to parallel tests, uses --from arg instead)
- Handle terraform destroy errors
2021-01-06 17:57:32 +01:00
William Beuil 563f1a9ed3
Fix records that has the same FQDN 2021-01-06 14:44:09 +01:00
William Beuil 1bde15eb6c
Add acceptance test 2021-01-04 15:51:22 +01:00
William Beuil 98d1021505
Rely on the FQDN to compare two route53 records 2021-01-04 13:47:02 +01:00
Elie bbe91ffef0
Add aws vpc support 2020-12-17 18:26:37 +01:00
Stephane Jourdan 4f336a30a1 move deprecated version out of provider 2020-12-14 11:03:42 +01:00
Elie f4714af0cc
Fix acceptance tests
- Better terraform error output
- Remove terraform version constraint in test files
2020-12-14 10:50:45 +01:00
Martin Guibert 23e7d14707 Add the same normalization from state and remote 2020-12-11 11:45:33 +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