sundowndev
27be216ed2
fix: return value instead of pointer
...
Running a non-deep mode scan on those resources produces a panic since some attributes return a pointer instead of a value.
2021-11-26 17:30:25 +01:00
sundowndev
73ca972e19
test(acc): azurerm_lb_rule
...
Ignore azurerm_lb resources since it's not necessary to test them here.
2021-11-26 17:18:15 +01:00
sundowndev
57cdd84bc8
feat: add azurerm_lb_rule
2021-11-26 17:16:29 +01:00
William Beuil
141c642c98
Add aws_apigatewayv2_vpc_link resource
2021-11-26 11:23:36 +01:00
Raphaël
9b2814a94b
Merge branch 'main' into fix/ouf-of-sync-only-deep-mode
2021-11-26 10:26:43 +01:00
Elie
065f651077
Merge branch 'main' into fea/add_azure_privatedns_txt
2021-11-25 18:10:32 +01:00
Samuel Maftoul
572e39170e
Change NewAnalysis signature to return a pointer, update occurences accordingly
2021-11-25 17:39:47 +01:00
Samuel Maftoul
8d3318725f
Add a test for the updated output of the scan without deep mode
2021-11-25 17:07:46 +01:00
Samuel Maftoul
b59e04e01e
Fix broken tests: Add Deep where necessary
2021-11-25 16:55:14 +01:00
Samuel Maftoul
972eddcd79
Introduce NewAnalysis(), use it in analyzer, update fakeAnalyzer accordingly
2021-11-25 15:12:14 +01:00
Samuel Maftoul
7476cfa081
fix: display out of sync drifts only in deep mode
2021-11-25 12:56:21 +01:00
Karni Wolf
6f76599bc7
Add aws_api_gatewayv2 resource
2021-11-24 16:31:00 +02:00
Martin Guibert
11b751f84d
add support for azurerm_private_dns_txt_record
2021-11-23 18:18:22 +01:00
Martin Guibert
ac0f1a2608
add support for azurerm_private_dns_srv_record
2021-11-23 10:07:59 +01:00
Martin Guibert
7a38ac2413
add azurerm_privatedns_mx_record
2021-11-19 17:30:54 +01:00
Elie
d8a804520b
Merge branch 'main' into fea/azurerm_private_dns_ptr_record
2021-11-19 16:22:35 +01:00
Elie
49ac19f647
Disable azure flacky tests
2021-11-19 11:37:30 +01:00
Elie
332b66eeca
Disabled azure flacky test
2021-11-19 11:11:56 +01:00
Elie
81a9cdb9df
Disable azure flacky tests
2021-11-19 10:06:36 +01:00
Martin Guibert
8627b57329
add support for azurerm_private_dns_ptr_record
2021-11-18 16:53:41 +01:00
Elie
c9e20fc272
Merge branch 'main' into fea/azurerm_private_dns_cname_record
2021-11-18 16:36:22 +01:00
Elie
5d293d1847
Disable azure flacky tests
2021-11-18 15:36:37 +01:00
Martin Guibert
53471fa02c
lock pirvatedns zone cache and remove cache for filtering recordset
2021-11-18 08:59:43 +01:00
Martin Guibert
70ddf3c042
add scanner tests
2021-11-18 08:59:43 +01:00
Martin Guibert
c4406b3648
add state reader test for cname
2021-11-18 08:59:43 +01:00
Martin Guibert
6dd4b17e66
add repository tests for cname
2021-11-18 08:59:42 +01:00
Martin Guibert
ed405dfbcd
add metadata test and acc test
2021-11-18 08:59:42 +01:00
Martin Guibert
d498ee9973
add support for azurerm_private_dns_cname_record_enumerator
2021-11-18 08:59:42 +01:00
William Beuil
6a6ead3bd3
Add aws_api_gateway_integration_response resource
2021-11-17 10:32:09 +01:00
Elie
af8afc77df
Force azure provider registration to false.
...
Azure provider registration allow terraform provider to automatically
register azure resource providers.
In our context we are running read only so we do not want to try to
enable them during the scan.
Without this, a driftctl scan will try to register resource providers
since it is done in the gRPC configure call.
2021-11-16 14:46:47 +01:00
Elie
0bf122f7ee
Merge pull request #1216 from cbowman0/tfe
...
Support passing in the Terraform API URL to support Terraform Enterprise installations.
2021-11-15 17:40:32 +01:00
Christopher Bowman
9591633e8a
Set the TFCloudEndpoint parameter that would be set via default in cmd options
2021-11-15 10:08:23 -05:00
Christopher Bowman
03464d89bc
Change TFCloudAPI to TFCloudEndpoint
2021-11-15 09:24:07 -05:00
Christopher Bowman
8ba05f995b
Address remarks
2021-11-15 09:07:22 -05:00
Christopher Bowman
6c2f9653e1
Support passing in the Terraform API URL to support Terraform Enterprise installations.
...
Look for the correct domain in from credentials.tfrc.json
2021-11-12 17:46:32 -05:00
sundowndev
4a9cc26a77
refactor: add docs for ShouldPrint function
2021-11-12 17:05:05 +01:00
sundowndev
d5f930e2f1
fix: display progress bar in stdout
2021-11-12 17:05:05 +01:00
Martin Guibert
e1bcd185ef
fix private record acc tests
2021-11-10 17:38:33 +01:00
William BEUIL
ab5ae0c4ab
Merge branch 'main' into fix/unbuffered-chan
2021-11-10 16:00:38 +01:00
William BEUIL
e98c9f9e68
Merge branch 'main' into fix/unbuffered-chan
2021-11-10 15:53:44 +01:00
Elie
5399ade164
Add google_cloudrun_service
2021-11-10 15:45:33 +01:00
Elie
ec69da1afc
Merge pull request #1208 from craigfurman/gen-driftignore-ux
...
gen-driftignore input/output UX
2021-11-10 10:20:46 +01:00
Craig Furman
612118d646
gen-driftignore defaults to writing to a file
...
Users can still print to stdout by passing `-o -`.
2021-11-08 10:43:18 +00:00
Craig Furman
4466a0430e
gen-driftignore defaults to reading from stdin
...
Allow the input file to be specified as "-", which traditionally many
programs interpret as standard input. Make this value the default too,
as piping `driftctl scan | driftctl gen-driftignore` appears to be a
documented idiom.
2021-11-08 10:43:16 +00:00
Martin Guibert
f2a84a145c
fix tests
2021-11-05 10:26:36 +01:00
Martin Guibert
0a8a885aaa
add test for repo and some fix
2021-11-05 10:26:36 +01:00
Martin Guibert
8247f2a41f
add support for azurerm_private_dns_a_record & azurerm_private_dns_aaaa_record
2021-11-05 10:26:19 +01:00
William Beuil
0d0457ac92
Fix unbuffered channel
2021-11-04 13:07:31 +01:00
William Beuil
568c474574
Middleware should handle YAML body document now
2021-11-04 11:55:19 +01:00
Elie
33b655509f
Merge pull request #1202 from cloudskiff/fix_flacky_acc_tests
...
Fix flacky ACC tests
2021-10-29 16:31:17 +02:00
William Beuil
240e20d6e4
Renaming AWS scanner tests
2021-10-29 14:55:38 +02:00
Elie
0ed20f20d2
Fix flacky ACC tests
2021-10-29 14:17:49 +02:00
Elie
fe2587e383
Add google_compute_global_address
2021-10-29 10:33:59 +02:00
Raphaël
a2491a07ac
Merge branch 'main' into feat/add_google_compute_health_check
2021-10-28 16:18:37 +02:00
sundowndev
e5b55aad94
fix: use name instead of display_name
2021-10-28 15:55:29 +02:00
sundowndev
2e6977c2c6
refactor: use name instead of display_name
2021-10-28 15:34:46 +02:00
sundowndev
6f117efdb2
feat: add google_compute_health_check
2021-10-28 15:34:46 +02:00
Elie
05c16831b8
Merge pull request #1191 from cloudskiff/chore/state-reader-test
...
Fix fake provider configuration in state reader tests
2021-10-28 14:20:30 +02:00
William Beuil
0f7db93e9b
Add aws_api_gateway_integration resource
2021-10-28 13:05:19 +02:00
Elie
9d7acdf102
Merge pull request #1171 from cloudskiff/res/api_gtw_method_settings
...
Add aws_api_gateway_method_settings resource
2021-10-28 12:00:21 +02:00
sundowndev
6e0ff306da
chore: add temp directory to fake provider
2021-10-27 17:12:01 +02:00
William Beuil
d544e622fa
Add aws_api_gateway_method_settings resource
2021-10-27 17:03:38 +02:00
Elie
f6589bb765
Add google_compute_image
2021-10-27 16:36:21 +02:00
Elie
ef150c20f4
Merge pull request #1175 from cloudskiff/add_google_sql_database_instance
...
Add google_sql_database_instance
2021-10-27 16:00:22 +02:00
Elie
791be3553c
Merge pull request #1188 from cloudskiff/retry-policy-comment
...
Add missing comment for retry policy in ACC tests
2021-10-27 15:59:53 +02:00
Elie
7225d4c0a8
Merge pull request #1186 from cloudskiff/fix/sort-scanner
...
Create a SortableScanner for specific use case
2021-10-27 15:59:17 +02:00
sundowndev
331fbe6b89
chore(acc): add comment for retry policy
2021-10-27 15:55:09 +02:00
Martin Guibert
dfe35f9082
fix google_project_iam_member acc test
...
remove assertion on infra in synch as we scan other iam from qa infra
2021-10-27 15:06:45 +02:00
Elie
999d4379ff
Merge pull request #1184 from cloudskiff/fix_acc_test
...
Fix ACC test issues
2021-10-27 14:50:21 +02:00
William Beuil
9c51730528
Create a SortableScanner for specific use case
2021-10-27 13:22:30 +02:00
Elie
eca1b184ac
Merge pull request #1185 from cloudskiff/fix/make-init
...
Fix resources slice make init
2021-10-27 11:38:09 +02:00
William Beuil
643e496e6e
Fix resources slice make init
2021-10-27 11:30:47 +02:00
Elie
33c55d4920
Fix ACC test issues
2021-10-27 11:19:21 +02:00
sundowndev
11cd054cca
test(acc): google_compute_subnetwork
...
add missing region argument to subnetwork resource
2021-10-27 10:49:51 +02:00
Elie
3a7c8db0e2
Merge branch 'v0.16'
2021-10-26 17:44:50 +02:00
Elie
0394cfeb19
Fix crash for google_bigquery_table
2021-10-26 17:44:02 +02:00
Elie
4e626101bc
Merge branch 'v0.16'
2021-10-26 17:18:53 +02:00
Elie
fa70206080
Fixz bigquery dataset crash
2021-10-26 17:18:34 +02:00
sundowndev
1aba4a2632
test(acc): azurerm_ssh_public_key
2021-10-26 15:09:15 +02:00
sundowndev
610767df58
feat: add azurerm_ssh_public_key
2021-10-26 15:09:15 +02:00
Elie
382088487b
Merge pull request #1174 from cloudskiff/fix_lock_read_log_error
...
Fix lock file read log error
2021-10-26 14:38:44 +02:00
Elie
1370ed6f4b
Fix lock file read log error
2021-10-26 14:05:26 +02:00
Elie
6a2e45558c
Add google_sql_database_instance
2021-10-26 11:46:11 +02:00
William Beuil
9efa64200b
Add aws_api_gateway_gateway_response resource
2021-10-25 18:02:27 +02:00
Elie
d583cef284
Add google_bigtable_table
2021-10-25 17:22:30 +02:00
Elie
208f9ce897
Add google_bigtable_instance
2021-10-25 17:07:17 +02:00
Elie
ceb7da829f
Add google_compute_disk
2021-10-25 16:52:50 +02:00
Elie
03f52e0c7d
Merge pull request #1154 from cloudskiff/feat/add_google_compute_subnetwork
...
Add google_compute_subnetwork resource
2021-10-25 16:44:44 +02:00
sundowndev
a113176b67
feat: add google_compute_subnetwork
2021-10-25 16:35:45 +02:00
sundowndev
1bbc3c7b56
feat: add azurerm_image resource
2021-10-25 15:46:03 +02:00
Martin Guibert
4ad4b76725
add support for azurerm_private_dns_zone
2021-10-25 14:05:14 +02:00
Elie
35e2b486ad
Merge pull request #1167 from cloudskiff/test/azurerm_lb_metadata
...
Add missing tests for azurerm_lb metadata
2021-10-25 13:55:28 +02:00
William Beuil
6f75e08bdb
Add aws_api_gateway_method_response resource
2021-10-25 12:19:45 +02:00
William Beuil
18a77ff325
Add missing metadata api gateway tests
2021-10-25 12:09:28 +02:00
Raphaël
bcc73f56af
test: add missing tests for azurerm_lb metadata
2021-10-25 12:08:50 +02:00
William Beuil
712883d761
Add aws_api_gateway_model
2021-10-25 11:35:10 +02:00
Raphaël
0d3f66e44c
test(acc): azurerm_lb
...
remove irrelevant filter flag
2021-10-25 11:01:10 +02:00
sundowndev
7a533a2da1
test: azurerm_lb
2021-10-22 17:52:32 +02:00
sundowndev
1ad7f2fc6e
feat: add azurerm_lb
2021-10-22 16:20:10 +02:00
William BEUIL
3a3fe7ae4a
Merge branch 'main' into res/api_gtw_method
2021-10-22 14:15:26 +02:00