The config fails if I use some pipeline values

Given the code below :

    executor: aws-cli/default
          description: Lambda Action
          type: string

      - aws-cli/setup:
          profile_name: default
      - aws-cli/role_arn_setup:
          profile_name: platform-dev-automation
          role_arn: ${AWS_ROLE_ARN}
          source_profile: default
      - run: >-
          aws sts assume-role --role-arn
          ${AWS_ROLE_ARN} --role-session-name
      - run:
          name: "Dev Lambda"
          command: |
            created_at=`date +"%Y-%m-%dT%H:%M:%S%z"` &&
            aws lambda invoke --profile platform-dev-automation \
              --function-name platform-dev-automation \
              --invocation-type Event \
              --cli-binary-format raw-in-base64-out \
              --payload '{ 
                "action": "<< parameters.action >>", 
                "project_name": "<< pipeline.trigger_parameters.circleci.project_id >>",
                "created_at": "<< pipeline.trigger_parameters.circleci.event_time >>",
                "user": "<< pipeline.trigger_parameters.circleci.actor_id >>",
                "build_number": "<< pipeline.number >>",
                "env": "DEV"
               }' lambda_output && cat lambda_output

It fails with the following error

Errors found in the configuration file:
- Error calling workflow: 'dev-environment'
- Error calling job: 'dev_automation'
- Unknown variable(s): event_time, project_id

My project is a GitHub based project, should it work ?
I mean, it’s frustrating because I’m struggling with it for a while and the documentation shows that it should work.