Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Null values not allowed for StateMachine ResultPath #1694

Closed
forest-benchling opened this issue Sep 14, 2020 · 2 comments
Closed

Null values not allowed for StateMachine ResultPath #1694

forest-benchling opened this issue Sep 14, 2020 · 2 comments

Comments

@forest-benchling
Copy link

forest-benchling commented Sep 14, 2020

cfn-lint version: (cfn-lint --version)
0.35.1

Description of issue.
I have an AWS::Serverless::StateMachine resource with a state like this:

          MarkRunCompleted:
            Type: Task
            Resource: !GetAtt UpdateRunStatus.Arn
            Parameters:
              run_id.$: $.run.id
              status: RUN_COMPLETED
            ResultPath: null  # Don't pass output
            Next: NextStep

When I run poetry run cfn-lint template.yaml, it fails with

E0000 Null value at line 594 column 25
template.yaml:594:25

I am confused because in the CloudFormation docs, it says that ResultPath can be set to null to pass the original input as the output.

Is this a bug?

Even if I do poetry run cfn-lint template.yaml -i E0000, it still fails with the same error.

@PatMyron
Copy link
Contributor

Even if I do poetry run cfn-lint template.yaml -i E0000, it still fails with the same error.

This part is being tracked here

@kddejong
Copy link
Contributor

Duplicate to #1657

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

No branches or pull requests

3 participants