Elie
5dbdbcbdb4
Refacto aws_eip
2021-05-17 11:38:46 +02:00
sundowndev
e15146938d
fix: report when no tfstate found in backend
2021-05-11 17:22:20 +02:00
Elie
550f5e84ae
Refacto IAM resources and aws_key_pair
2021-05-11 16:04:59 +02:00
Martin Guibert
ab026b66b8
migrate sns_topic
2021-05-11 12:22:44 +02:00
Martin Guibert
cac46cf585
add sns_topic_policy
2021-05-11 12:22:44 +02:00
Martin Guibert
dc41b780d1
add sns topic subscription
2021-05-11 12:22:44 +02:00
Elie
350ccaf059
Remove useless sanitize method
2021-05-11 10:53:49 +02:00
William Beuil
7feb45f5dd
Fix aws_default_route_table, add aws_route_table and add aws_route
2021-05-10 16:33:43 +02:00
William Beuil
831e80678a
Add aws_ecr_repository
2021-05-10 16:33:42 +02:00
sundowndev
63374936e0
fix: add line break in warning message
2021-05-10 15:02:42 +02:00
sundowndev
6b6e4d62dd
refactor: fix error handling & simplify code
2021-05-10 15:02:42 +02:00
sundowndev
56aa95ffd1
chore: fix rebasing of branch
2021-05-10 15:02:42 +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
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
Martin Guibert
28d3a6df7e
Add progress service that display a spinner until stopped or timeouted
2021-03-16 16:35:20 +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
sundowndev
ce1e9ec82b
feat(backend): implement http(s) backend
2021-03-16 11:57:48 +01:00
Elie
c70fb41f6b
Merge branch 'main' into issue_151_lotoussa
2021-03-02 15:58:38 +01:00
Elie
1c34d869ed
Merge branch 'main' into add_github_branch_protection
2021-03-02 15:47:18 +01:00
Elie
7d0a28c6e8
Add github_branch_protection
2021-03-02 15:45:21 +01:00
Louis TOUSSAINT
11437d03da
Issue 151: Add ecr_repository resource tests
2021-03-02 15:25:03 +01:00
Louis TOUSSAINT
cf634bfd54
Issue 151: Add ecr_repository resource
2021-03-02 15:25:01 +01:00
Martin Guibert
0933a6a642
add support for aws_lambda_source_event_mapping
2021-03-02 14:44:51 +01:00
William Beuil
59998620da
Add github_team_membership
2021-03-02 12:36:57 +01:00
Elie
ba8f950aad
Add github membership
2021-03-01 15:05:18 +01:00
Elie
c90da70b56
Allow to use a whole local directory as IaC source
2021-02-26 12:41:50 +01:00
William Beuil
839ae746e7
Add kms_alias
2021-02-25 14:19:49 +01:00
Elie
e76a8e432b
Merge branch 'main' into res/kms_key
2021-02-25 10:54:51 +01:00
Elie
c7155f2c5b
Add github_team
2021-02-25 10:49:46 +01:00
William Beuil
30a9d5cc2d
Add kms_key
2021-02-25 10:44:37 +01:00
Elie
9f2ac63469
Merge branch 'main' into fix/cloudfront
2021-02-25 10:14:27 +01:00
William Beuil
e515c8195f
Update normalization
2021-02-24 15:13:17 +01:00
Elie
5bf6a4ad7a
Add acc test
2021-02-24 14:19:08 +01:00
Elie
69345a5c34
Add state enumerator
2021-02-24 14:18:59 +01:00
William Beuil
476c6c62db
Add cloudfront_distribution resource
2021-02-17 15:52:09 +01:00
Martin Guibert
f18ce79086
add support for route53 health check
2021-02-16 18:54:04 +01:00
Elie
cf531bc0a6
Add support for github_repository
2021-02-16 10:56:30 +01:00
Elie
59c061d2f6
Fix aws suppliers and tests to use new provider
2021-02-12 16:29:39 +01:00
Martin Guibert
73ffe8280f
add support for dynamodb_table
2021-02-11 18:18:08 +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
2f7fa28622
Fix false positive drifts on aws_sns_topic
2021-02-08 18:38:57 +01:00
Martin Guibert
18f7ad6bb8
add support for aws_sns_topic_subscription
2021-02-08 12:09:38 +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
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
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
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
aeafb861d7
Add support for terraform modules
2021-01-25 15:41:21 +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
4543525f16
Merge branch 'main' into add_aws_nat_gateway
2021-01-21 15:28:50 +01:00
Elie
24ae387019
Remove unwanted resources from IaC test
2021-01-21 10:44:07 +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
Elie
3eb84e0500
Add aws_route, aws_route_table, aws_default_route_table support
2021-01-14 18:23:59 +01:00
Elie
7d6b6a86f8
Merge branch 'main' into fix/records
2021-01-06 14:48:05 +01:00
William Beuil
563f1a9ed3
Fix records that has the same FQDN
2021-01-06 14:44:09 +01:00
Elie
896edb91d8
Ignore unknown attributes error in state
2021-01-06 12:38:53 +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