driftctl/pkg/middlewares
Elie CHARRA 6c5e6787b0
fix: fix broken tests
Those tests were broken due to removal of SetResolveReadAttributesFunc.
Sometimes in those methods we were casting field from different types to string.
If we loose that case it causes some issues since in the detail fetcher we only take into account
strings attributes. To fix that I added some cast directly in the detail fetcher.
That should not cause any issues to retrieve details if we send additional (useless) fields to the
ReadResource call.
2022-08-01 10:53:33 +02:00
..
testdata feat: gatewayv2 api middleware to support integration 2021-12-15 09:34:25 +01:00
aws_alb_listener_transformer.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_alb_listener_transformer_test.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_alb_transformer.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_alb_transformer_test.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_api_gateway_api_expander.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_api_gateway_api_expander_test.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_api_gateway_base_path_mapping_reconciler.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_api_gateway_base_path_mapping_reconciler_test.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_api_gateway_deployment_expander.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_api_gateway_deployment_expander_test.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_api_gateway_domain_names_reconciler.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_api_gateway_domain_names_reconciler_test.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_api_gateway_resource_expander.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_api_gateway_resource_expander_test.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_api_gateway_rest_api_policy_expander.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_api_gateway_rest_api_policy_expander_test.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_bucket_policy_expander.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_bucket_policy_expander_test.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_console_api_gateway_gateway_response.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_console_api_gateway_gateway_response_test.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_default_api_gateway_account.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_default_api_gateway_account_test.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_default_igw_route.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_default_igw_route_test.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_default_internet_gateway.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_default_internet_gateway_test.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_default_network_acl.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_default_network_acl_rule.go fix: fix broken tests 2022-08-01 10:53:33 +02:00
aws_default_network_acl_rule_test.go fix: fix broken tests 2022-08-01 10:53:33 +02:00
aws_default_network_acl_test.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_default_route.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_default_route_table.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_default_route_table_test.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_default_route_test.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_default_security_group_rule.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_default_security_group_rule_test.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_default_sqs_queue_policy.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_default_sqs_queue_policy_test.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_default_subnet.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_default_vpc.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_defaults.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_defaults_test.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_ebs_encryption_by_default_reconciler.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_ebs_encryption_by_default_reconciler_test.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_eip_association_expander.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_iam_policy_attachement_transformer.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_iam_policy_attachement_transformer_test.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_instance_block_device.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_instance_block_device_test.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_instance_eip.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_instance_eip_test.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_nat_gateway_eip_assoc.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_nat_gateway_eip_assoc_test.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_network_acl_expander.go fix: fix broken tests 2022-08-01 10:53:33 +02:00
aws_network_acl_expander_test.go fix: fix broken tests 2022-08-01 10:53:33 +02:00
aws_rds_cluster_instance_expander.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_rds_cluster_instance_expander_test.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_role_managed_policy_expander.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_route_table_expander.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_route_table_expander_test.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_s3_bucket_public_access_block_reconcilier.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_s3_bucket_public_access_block_reconcilier_test.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_sns_topic_policy_expander.go chore: move schema repo in driftctl 2022-07-28 11:49:56 +02:00
aws_sns_topic_policy_expander_test.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
aws_sqs_queue_policy_expander.go chore: move schema repo in driftctl 2022-07-28 11:49:56 +02:00
aws_sqs_queue_policy_expander_test.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
azurerm_route_expander.go chore: extract enumeration to it's own submodule 2022-07-07 16:16:03 +02:00
azurerm_route_expander_test.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
azurerm_subnet_expander.go chore: extract enumeration to it's own submodule 2022-07-07 16:16:03 +02:00
azurerm_subnet_expander_test.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
chain_middleware.go chore: extract enumeration to it's own submodule 2022-07-07 16:16:03 +02:00
chain_middleware_test.go chore: extract enumeration to it's own submodule 2022-07-07 16:16:03 +02:00
default_vpc_test.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
google_compute_instance_group_manager_reconciler.go chore: extract enumeration to it's own submodule 2022-07-07 16:16:03 +02:00
google_compute_instance_group_manager_reconciler_test.go chore: extract enumeration to it's own submodule 2022-07-07 16:16:03 +02:00
google_default_iam_member.go chore: extract enumeration to it's own submodule 2022-07-07 16:16:03 +02:00
google_default_iam_member_test.go chore: extract enumeration to it's own submodule 2022-07-07 16:16:03 +02:00
google_iam_binding_tranformer_test.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
google_iam_binding_transformer.go chore: extract enumeration to it's own submodule 2022-07-07 16:16:03 +02:00
google_iam_policy_tranformer_test.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
google_iam_policy_transformer.go chore: extract enumeration to it's own submodule 2022-07-07 16:16:03 +02:00
google_legacy_bucket_iam_member.go chore: extract enumeration to it's own submodule 2022-07-07 16:16:03 +02:00
google_legacy_bucket_iam_member_test.go chore: extract enumeration to it's own submodule 2022-07-07 16:16:03 +02:00
helpers_test.go Add support for aws_apigatewayv2_route 2021-12-09 13:45:12 +00:00
iam_policy_attachment_expander.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
iam_policy_attachment_expander_test.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
middlewares.go chore: extract enumeration to it's own submodule 2022-07-07 16:16:03 +02:00
route53_records.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
route53_records_id_reconcilier.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
route53_records_id_reconcilier_test.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
route53_records_test.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
s3_bucket_acl.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
s3_bucket_acl_test.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
tags_all_manager.go chore: extract enumeration to it's own submodule 2022-07-07 16:16:03 +02:00
tags_all_manager_test.go chore: extract enumeration to it's own submodule 2022-07-07 16:16:03 +02:00
vpc_security_group_default.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
vpc_security_group_default_test.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
vpc_security_group_rules.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
vpc_security_group_rules_test.go chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00