forked from aws/serverless-application-model
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cfnlintrc.yaml
145 lines (145 loc) · 11 KB
/
.cfnlintrc.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
templates:
- tests/translator/output/**/*.json
ignore_templates:
- tests/translator/output/**/error_*.json # Fail by design
- tests/translator/output/**/api_http_paths_with_if_condition.json
- tests/translator/output/**/api_http_paths_with_if_condition_no_value_else_case.json
- tests/translator/output/**/api_http_paths_with_if_condition_no_value_then_case.json
- tests/translator/output/**/api_http_with_default_iam_authorizer.json
- tests/translator/output/**/api_rest_paths_with_if_condition_openapi.json
- tests/translator/output/**/api_rest_paths_with_if_condition_openapi_no_value_else_case.json
- tests/translator/output/**/api_rest_paths_with_if_condition_openapi_no_value_then_case.json
- tests/translator/output/**/api_rest_paths_with_if_condition_swagger.json
- tests/translator/output/**/api_rest_paths_with_if_condition_swagger_no_value_else_case.json
- tests/translator/output/**/api_rest_paths_with_if_condition_swagger_no_value_then_case.json
- tests/translator/output/**/api_with_any_method_in_swagger.json
- tests/translator/output/**/api_with_auth_and_conditions_all_max.json
- tests/translator/output/**/api_with_basic_custom_domain.json
- tests/translator/output/**/api_with_basic_custom_domain_http.json
- tests/translator/output/**/api_with_basic_custom_domain_intrinsics.json
- tests/translator/output/**/api_with_basic_custom_domain_intrinsics_http.json
- tests/translator/output/**/api_with_binary_media_types.json
- tests/translator/output/**/api_with_binary_media_types_definition_body.json
- tests/translator/output/**/api_with_canary_setting.json
- tests/translator/output/**/api_with_cors_and_conditions_no_definitionbody.json
- tests/translator/output/**/api_with_custom_base_path.json
- tests/translator/output/**/api_with_custom_domain_route53.json
- tests/translator/output/**/api_with_custom_domain_route53_hosted_zone_name.json
- tests/translator/output/**/api_with_custom_domain_route53_hosted_zone_name_http.json
- tests/translator/output/**/api_with_custom_domain_route53_http.json
- tests/translator/output/**/api_with_custom_domain_route53_multiple_intrinsic_hostedzoneid.json
- tests/translator/output/**/api_with_identity_intrinsic.json
- tests/translator/output/**/api_with_if_conditional_with_resource_policy.json
- tests/translator/output/**/api_with_resource_policy_global.json
- tests/translator/output/**/api_with_security_definition_and_none_components.json
- tests/translator/output/**/api_with_source_vpc_whitelist.json
- tests/translator/output/**/api_with_usageplans.json
- tests/translator/output/**/api_with_usageplans_intrinsics.json
- tests/translator/output/**/api_with_usageplans_shared_attributes_three.json
- tests/translator/output/**/api_with_usageplans_shared_attributes_two.json
- tests/translator/output/**/api_with_usageplans_shared_no_side_effect_1.json
- tests/translator/output/**/api_with_usageplans_shared_no_side_effect_2.json
- tests/translator/output/**/application_with_intrinsics.json
- tests/translator/output/**/basic_function_withimageuri.json
- tests/translator/output/**/basic_layer.json
- tests/translator/output/**/cloudwatchevent_intrinsics.json
- tests/translator/output/**/congito_userpool_with_sms_configuration.json
- tests/translator/output/**/connector_bucket_to_function.json
- tests/translator/output/**/connector_dependson_replace.json
- tests/translator/output/**/connector_esm_dependson.json
- tests/translator/output/**/connector_function_to_sqs.json
- tests/translator/output/**/connector_function_to_table.json
- tests/translator/output/**/connector_hardcoded_lambda_arn.json
- tests/translator/output/**/connector_hardcoded_props.json
- tests/translator/output/**/connector_rule_to_eventbus.json
- tests/translator/output/**/connector_rule_to_sfn.json
- tests/translator/output/**/connector_rule_to_sns.json
- tests/translator/output/**/connector_sfn_to_function.json
- tests/translator/output/**/connector_sns_to_function.json
- tests/translator/output/**/connector_table_to_function.json
- tests/translator/output/**/documentdb_with_intrinsics.json # TODO: remove once DocumentDDB is available
- tests/translator/output/**/eventbridgerule_with_dlq.json
- tests/translator/output/**/function_event_conditions.json
- tests/translator/output/**/function_with_alias_and_code_sha256.json
- tests/translator/output/**/function_with_alias_intrinsics.json
- tests/translator/output/**/function_with_condition.json
- tests/translator/output/**/function_with_conditional_managed_policy.json
- tests/translator/output/**/function_with_conditional_managed_policy_and_ref_no_value.json
- tests/translator/output/**/function_with_conditional_policy_template.json
- tests/translator/output/**/function_with_conditional_policy_template_and_ref_no_value.json
- tests/translator/output/**/function_with_custom_codedeploy_deployment_preference.json
- tests/translator/output/**/function_with_deployment_no_service_role_with_passthrough.json
- tests/translator/output/**/function_with_deployment_no_service_role_without_passthrough.json
- tests/translator/output/**/function_with_deployment_preference.json
- tests/translator/output/**/function_with_deployment_preference_condition_with_passthrough.json
- tests/translator/output/**/function_with_deployment_preference_condition_without_passthrough.json
- tests/translator/output/**/function_with_deployment_preference_from_parameters.json
- tests/translator/output/**/function_with_deployment_preference_multiple_combinations_conditions_with_passthrough.json
- tests/translator/output/**/function_with_deployment_preference_multiple_combinations_conditions_without_passthrough.json
- tests/translator/output/**/function_with_deployment_preference_passthrough_condition_with_supported_intrinsics.json
- tests/translator/output/**/function_with_dlq.json
- tests/translator/output/**/function_with_documentdb_with_kms.json # TODO: remove once DocumentDDB is available
- tests/translator/output/**/function_with_documentdb.json # TODO: remove once DocumentDDB is available
- tests/translator/output/**/function_with_event_dest.json
- tests/translator/output/**/function_with_event_dest_basic.json
- tests/translator/output/**/function_with_event_dest_conditional.json
- tests/translator/output/**/function_with_event_schedule_state.json
- tests/translator/output/**/function_with_file_system_config.json
- tests/translator/output/**/function_with_event_filtering.json # TODO: remove once Event's KmsKeyArn is available
- tests/translator/output/**/function_with_function_url_config_conditions.json
- tests/translator/output/**/function_with_globals_role_path.json
- tests/translator/output/**/function_with_intrinsic_architecture.json
- tests/translator/output/**/function_with_kmskeyarn.json
- tests/translator/output/**/function_with_resource_refs.json
- tests/translator/output/**/function_with_role_and_role_path.json
- tests/translator/output/**/function_with_role_path.json
- tests/translator/output/**/http_api_custom_iam_auth.json
- tests/translator/output/**/http_api_existing_openapi.json
- tests/translator/output/**/http_api_existing_openapi_conditions.json
- tests/translator/output/**/http_api_explicit_stage.json
- tests/translator/output/**/http_api_global_iam_auth_enabled.json
- tests/translator/output/**/http_api_local_iam_auth_enabled.json
- tests/translator/output/**/http_api_with_cors.json
- tests/translator/output/**/implicit_and_explicit_api_with_conditions.json
- tests/translator/output/**/implicit_api_with_auth_and_conditions_max.json
- tests/translator/output/**/implicit_api_with_many_conditions.json
- tests/translator/output/**/implicit_http_api_with_many_conditions.json
- tests/translator/output/**/intrinsic_functions.json
- tests/translator/output/**/kinesis_intrinsics.json
- tests/translator/output/**/layers_all_properties.json
- tests/translator/output/**/layers_with_intrinsics.json
- tests/translator/output/**/s3_create_remove.json
- tests/translator/output/**/s3_intrinsics.json
- tests/translator/output/**/schema_validation_1.json
- tests/translator/output/**/self_managed_kafka_with_intrinsics.json
- tests/translator/output/**/sqs_with_scaling_config.json # Invalid Property Resources/SQSFunctionMySqsQueue/Properties/ScalingConfig
- tests/translator/output/**/state_machine_with_condition.json
- tests/translator/output/**/state_machine_with_condition_and_events.json
- tests/translator/output/**/state_machine_with_eb_dlq_target_id.json
- tests/translator/output/**/state_machine_with_event_schedule_state.json
- tests/translator/output/**/state_machine_with_schedule.json
- tests/translator/output/**/state_machine_with_schedule_dlq_retry_policy.json
- tests/translator/output/**/state_machine_with_auto_publish_alias.json
- tests/translator/output/**/state_machine_with_deployment_preference_all_at_once.json
- tests/translator/output/**/state_machine_with_deployment_preference_canary.json
- tests/translator/output/**/state_machine_with_deployment_preference_linear.json
- tests/translator/output/**/state_machine_with_deletion_policy.json
- tests/translator/output/**/state_machine_with_update_replace_policy.json
- tests/translator/output/**/globals_for_function.json # RuntimeManagementConfig
- tests/translator/output/**/function_with_runtime_config.json # RuntimeManagementConfig
- tests/translator/output/**/managed_policies_minimal.json # Intentionally has non-existent managed policy name
- tests/translator/output/**/function_with_mq.json # Property "EventSourceArn" can Fn::GetAtt to a resource of types [AWS::DynamoDB::GlobalTable, AWS::DynamoDB::Table, AWS::Kinesis::Stream, AWS::Kinesis::StreamConsumer, AWS::SQS::Queue]
- tests/translator/output/**/function_with_mq_using_autogen_role.json # Property "EventSourceArn" can Fn::GetAtt to a resource of types [AWS::DynamoDB::GlobalTable, AWS::DynamoDB::Table, AWS::Kinesis::Stream, AWS::Kinesis::StreamConsumer, AWS::SQS::Queue]
- tests/translator/output/**/function_with_recursive_loop.json # Invalid Property Resources/RecursiveLoopParameterFunction/Properties/RecursiveLoop
- tests/translator/output/**/function_with_tracing.json # Obsolete DependsOn on resource
- tests/translator/output/**/api_with_propagate_tags.json # TODO: Intentional error transform tests. Will be updated.
- tests/translator/output/**/function_with_intrinsics_resource_attribute.json # CFN now supports intrinsics in DeletionPolicy
- tests/translator/output/**/function_with_snapstart.json # Snapstart intentionally not attached to a lambda version which causes lint issues
- tests/translator/output/**/managed_policies_everything.json # intentionally contains wrong arns
ignore_checks:
- E2531 # Deprecated runtime; not relevant for transform tests
- E2533 # Another deprecated runtime; not relevant for transform tests
- W2531 # EOL runtime; not relevant for transform tests
- E3001 # Invalid or unsupported Type; common in transform tests since they focus on SAM resources
- W2001 # Parameter not used
- E3006 # Resource type check; we have some Foo Bar resources