Reference function arn in serverless.yml step-function

Hello,
My serverless.yml is like:

service: mw-selenium-lambda-${opt:stage}

plugins:
  - serverless-plugin-tracing
  - serverless-iam-roles-per-function
  - serverless-step-functions

provider:
  name: aws
  stage: ${opt:stage}
  region: ${file(./config.yml):${opt:stage}.REGION}
  version: ${file(./package.json):version}
  tracing: true # enable tracing
  apiGateway:
    apiKeySourceType: HEADER
  apiKeys:
    - ${opt:stage}-sfn-init-key

functions:
  sfnInit:
    ${file(resources/functions/sfn-init.yml)}
  selenium:
    ${file(resources/functions/selenium.yml)}

stepFunctions:
  stateMachines:
    machine:
      StartAt: selenium
      States:
        SeleniumTest:
          Type: Task
          Resource: !Ref selenium
          End: true

and my sfn-init.yml is as follows:

handler: bin/sfn-init
description: >-
  This function takes a argument `number` via http post request and starts that
  many instances of the specified step function
memorySize: 128
timeout: 30
runtime: go1.x
iamRoleStatements:
  - Effect: Allow
    Action:
      - xray:PutTraceSegments
      - xray:PutTelemetryRecords
    Resource:
      - "*"
  - Effect: Allow
    Action:
      - states:startExecution
    Resource:
      - "*"
package:
   individually: true
   include:
     - ./bin/sfn-init
environment:
  STEP_FUNCTION_ARN:
    Fn::GetAtt: [ seleniumTest, Arn ]
events:
  - http:
      path: '/${opt:stage}'
      method: post
      private: true

how do i get the STEP_FUNCTION_ARN into the sfn-init environment from within the same deployment stack?