Two value into matrix element

I need for one job to pass two values for the environment. Jobs should generate dynamically with matrix. Is it possible to pass to the job environment two values first for the command variable and second for the suffix variable?
I am aware that the code below doesn’t work but It should seem like it.

    version: 2.1
    workflows:
      version: 2
      deploy-adapter:
        jobs:
          - deploy-adapter-stage:
              matrix:
                parameters:
                  command: [
                    [ 'suffix1', 'command1' ],
                    [ 'suffix2', 'command2' ],
                    [ 'suffix3', 'command3' ],
                  ]

    jobs:
      deploy-adapter-stage:
        parameters:
          command:
            type: enum
        environment:
          SERVICE_SUFFIX: <<parameters.command[0]>>
          SYNC_COMMAND: <<parameters.command[1]>>
        machine: true
        steps:
          - create-task-and-service-definition
          - deploy-ecs

Hi @ruzakaranbol! Welcome to the CircleCI Discuss community!

My understanding of what you’re trying to achieve is that you’d like the job deploy-adapter-stage to run for specific combinations only: 'suffix1' + 'command1', then 'suffix2' + 'command2', and finally 'suffix3' + 'command3'. But not for any other combination.

Is this correct?