Skip to content

test: pin cfn-lint to 1.55 to prevent random failures - #3989

Merged
valerena merged 1 commit into
aws:developfrom
valerena:cfn-lint-1.55
Sep 2, 2026
Merged

test: pin cfn-lint to 1.55 to prevent random failures#3989
valerena merged 1 commit into
aws:developfrom
valerena:cfn-lint-1.55

Conversation

@valerena

@valerena valerena commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Issue #, if available

Issues in the tests when running make pr

...
tests/translator/output/function_with_deployment_preference_multiple_combinations.json:284:13:284:18:E1020:'MinimalFunctionWithMinimalDeploymentPreferenceDeploymentGroup' is not one of ['AWS::AccountId', 'AWS::NoValue', 'AWS::NotificationARNs', 'AWS::Partition', 'AWS::Region', 'AWS::StackId', 'AWS::StackName', 'AWS::URLSuffix']
tests/translator/output/function_with_disabled_traffic_hook.json:42:13:42:18:E1020:'ServerlessDeploymentApplication' is not one of ['AWS::AccountId', 'AWS::NoValue', 'AWS::NotificationARNs', 'AWS::Partition', 'AWS::Region', 'AWS::StackId', 'AWS::StackName', 'AWS::URLSuffix']
tests/translator/output/function_with_disabled_traffic_hook.json:45:13:45:18:E1020:'preTrafficHook' is not one of ['AWS::AccountId', 'AWS::NoValue', 'AWS::NotificationARNs', 'AWS::Partition', 'AWS::Region', 'AWS::StackId', 'AWS::StackName', 'AWS::URLSuffix']
tests/translator/output/function_with_disabled_traffic_hook.json:48:13:48:18:E1020:'FunctionDeploymentGroup' is not one of ['AWS::AccountId', 'AWS::NoValue', 'AWS::NotificationARNs', 'AWS::Partition', 'AWS::Region', 'AWS::StackId', 'AWS::StackName', 'AWS::URLSuffix']
tests/translator/output/function_with_events_and_propagate_tags.json:132:13:132:18:E1020:'ServerlessDeploymentApplication' is not one of ['ScheduleName', 'AWS::AccountId', 'AWS::NoValue', 'AWS::NotificationARNs', 'AWS::Partition', 'AWS::Region', 'AWS::StackId', 'AWS::StackName', 'AWS::URLSuffix']
tests/translator/output/function_with_events_and_propagate_tags.json:135:13:135:18:E1020:'MyAwesomeFunctionDeploymentGroup' is not one of ['ScheduleName', 'AWS::AccountId', 'AWS::NoValue', 'AWS::NotificationARNs', 'AWS::Partition', 'AWS::Region', 'AWS::StackId', 'AWS::StackName', 'AWS::URLSuffix']
make: *** [lint] Error 2

It looks like it's checking for references, but it's not allowing the custom values existing in the template, and only global variables.

Description of changes

pin cfn-lint version to 1.55.0

Description of how you validated changes

make pr

Checklist

Examples?

Please reach out in the comments if you want to add an example. Examples will be
added to sam init through aws/aws-sam-cli-app-templates.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@valerena
valerena requested a review from a team as a code owner September 2, 2026 18:19
@valerena
valerena enabled auto-merge (squash) September 2, 2026 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants