Can't use array in resources-block with Outputs for Statemachine Arn

Hey everyone,

According to the docs, this should work:

resources:
  - ${file(s3.yml)}
  - Outputs:
      TestStateMachine:
        Value:
          Ref: TestStateMachineStepFunctionsStateMachine

But I am getting a warning:

A valid service attribute to satisfy the declaration ‘self:resources.Outputs.TestStateMachine.Value’ could not be found.

If I don’t use an array in resources, it all works fine:

resources:
  Resources:
    ...
  Outputs:
    ...

Any idea what I did wrong here? (I’m running v1.74.1)

I have precisely the same issue. Do you solve it?