Repository navigation
Expand file tree
/
Copy path.cfnlintrc.yaml
More file actions
146 lines (145 loc) · 12.3 KB
/
Copy path.cfnlintrc.yaml
File metadata and controls
146 lines (145 loc) · 12.3 KB
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
146
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_intrinsics.json
- tests/translator/output/**/api_with_basic_custom_domain_intrinsics_http.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_multiple_intrinsic_hostedzoneid.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_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/**/eventbridgerule_with_dlq.json
- tests/translator/output/**/function_event_conditions.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_condition_with_passthrough.json
- tests/translator/output/**/function_with_deployment_preference_condition_without_passthrough.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_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_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_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_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/**/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/**/globals_for_function.json # RuntimeManagementConfig
- tests/translator/output/**/managed_policies_minimal.json # Intentionally has non-existent managed policy name
- 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
# Customer-Managed Runtime (CMR) fixtures: intentionally use the 'custom' runtime + RuntimeConfig,
# which are not yet in the public CloudFormation schema cfn-lint validates against (pre-GA).
- tests/translator/output/**/function_with_customer_managed_runtime.json
- tests/translator/output/**/function_runtime_config_novalue.json
- tests/translator/output/**/function_runtime_config_runtime_fnif.json
- tests/translator/output/**/function_runtime_config_runtime_fnsub.json
- tests/translator/output/**/function_runtime_config_snapstart_none.json
- tests/translator/output/**/function_runtime_config_snapstart_intrinsic.json
- tests/translator/output/**/managed_policies_everything.json # intentionally contains wrong arns
- tests/translator/output/**/function_with_metrics_config.json
- tests/translator/output/**/function_with_self_managed_kafka_and_schema_registry.json # cfnlint is not updated to recognize the SchemaRegistryConfig property
- tests/translator/output/**/function_with_self_managed_kafka_oauth.json # cfnlint is not updated to recognize OAuth SourceAccessConfigurations types
- tests/translator/output/**/function_with_self_managed_kafka_iam_auth.json # cfnlint is not updated to recognize IAM_AUTH SourceAccessConfigurations type
- tests/translator/output/**/function_with_self_managed_kafka_iam_oauth.json # cfnlint is not updated to recognize IAM_OAUTHBEARER_AUTH SourceAccessConfigurations type
- tests/translator/output/**/function_with_msk_with_schema_registry_config.json # cfnlint is not updated to recognize the SchemaRegistryConfig property
- tests/translator/output/**/function_with_self_managed_kafka_consumption_mode.json # cfnlint is not updated to recognize the ConsumptionMode property
- tests/translator/output/**/function_with_logging_config.json # cfnlint is not updated to recognize the LoggingConfig property
- tests/translator/output/aws-*/*capacity_provider*.json # Ignore Capacity Provider test format in non-aws partitions
- tests/translator/output/**/*accelerator_config*.json # cfn-lint not updated to recognize AcceleratorConfig property (unreleased CFN schema)
- tests/translator/output/**/capacity_provider_managed_resource_tags.json # cfnlint not updated for CapacityProvider mode (Phase 2)
- tests/translator/output/**/webfunction_basic.json # New AWS::Lambda::WebFunction* types cfn-lint does not recognize; DependsOn is intentional (W3005)
- tests/translator/output/**/webfunction_with_all_properties.json # New AWS::Lambda::WebFunction* types cfn-lint does not recognize; DependsOn is intentional (W3005)
- tests/translator/output/**/webfunction_multiregion.json # New AWS::Lambda::WebFunction* types cfn-lint does not recognize; DependsOn is intentional (W3005)
- tests/translator/output/**/webfunction_globals.json # New AWS::Lambda::WebFunction* types cfn-lint does not recognize; DependsOn is intentional (W3005)
- tests/translator/output/**/webfunction_update_replace_policy.json # New AWS::Lambda::WebFunction* types cfn-lint does not recognize; DependsOn is intentional (W3005)
- tests/translator/output/**/webfunction_python.json # New AWS::Lambda::WebFunction* types cfn-lint does not recognize; DependsOn is intentional (W3005)
- tests/translator/output/**/network_connector_with_compute_types.json # cfn-lint's published AWS::Lambda::NetworkConnector schema enum for AssociatedComputeResourceTypes still lists only MicroVm; the preview WebFunction compute type trips E3030
- tests/translator/output/**/network_connector_with_elastic_ip*.json # cfn-lint's published AWS::Lambda::NetworkConnector schema doesn't list ElasticIpConfiguration yet (hidden until launch); trips E3002
- tests/translator/output/**/graphqlapi_api_cache.json # pre-existing: fixture uses placeholder ApiCachingBehavior/Type values ('somebehaviour'/'mytype') that a cfn-lint registry-schema update now rejects (E3030); unrelated to this change
- tests/translator/output/**/basic_function.json # W1030: fixture uses Ref for VpcConfig SubnetIds, which cannot match the subnet-id pattern
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
- W3037 # Ignore cfn-lint check for non existing IAM permissions